image compression in jmagick

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
mekanix
Posts: 2
Joined: 2014-03-06T03:52:24-07:00
Authentication code: 6789

image compression in jmagick

Post 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
User avatar
dlemstra
Posts: 1570
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

Re: image compression in jmagick

Post by dlemstra »

What is the format of your output image?
.NET + ImageMagick = Magick.NET https://github.com/dlemstra/Magick.NET, @MagickNET, Donate
mekanix
Posts: 2
Joined: 2014-03-06T03:52:24-07:00
Authentication code: 6789

Re: image compression in jmagick

Post by mekanix »

The output format is jpg.
Post Reply