image compression in jmagick
Posted: 2014-03-07T00:30:22-07:00
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
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