JMagick and parameters

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
m_dieu

JMagick and parameters

Post by m_dieu »

Hi,

I have a problem with the JMagick Interface.
Because of the fact that there is no category concerning this topic I try my luck here.

Before I used JMagick I edited the pictures with following statements in a nightly process:

$scale{"k"} = "-geometry '68x68>' -density 72x72 -sharpen 0.7x40";
$scale{"m"} = "-geometry '137x137>' -density 72x72 -sharpen 1x40";
$scale{"g"} = "-geometry '284x284>' -density 72x72 -sharpen 1x40";
$scale{"d"} = "-geometry '500x500>' -density 72x72 -sharpen 1x16";

Now I edit the pictures at runtime. Therefore I'm looking for a way to use "density" and "sharpen" in JMagick but i can't find it.
Does anybody have an idea?
m_dieu

Re: JMagick and parameters

Post by m_dieu »

Ok, i got it.
I found the method sharpenImage in MagickImage and setDensity in ImageInfo.
Post Reply