Page 1 of 1

image compression in jmagick

Posted: 2014-03-07T00:30:22-07:00
by mekanix
Hello,
I am writing a program in Java using JMagick, and I need to be able to compress the image(lower the filesize) by lowering the quality of the image. I have tried the info.setQuality(99) and info.setQuality(1) classes but there is no difference in the size of the outputfile.

Is there a way to increase and decrease the quality of the image and thus adjusting the filesize of the outputfile with JMagick?

Thanks in advance

Re: image compression in jmagick

Posted: 2014-03-07T00:37:29-07:00
by dlemstra
What is the format of your output image?

Re: image compression in jmagick

Posted: 2014-03-07T06:44:43-07:00
by mekanix
The output format is jpg.