« Return to Thread: How to do JPEG Compression Save at 10

RE: How to do JPEG Compression Save at 10

by Eric Yeo :: Rate this Message:

Reply to Author | View in Thread

On Wed, 2005-09-14 at 15:22 +0530, Prasad TV wrote:
>  Hi Eric,
>
> As you said I tried by setting quality for info object before write to file.
> But when I open that new image in photo shop it allways shows saved as 12.
> But I want to save the file as 10. I tried with different values for quality
> between 1 to 100.

I don't believe that the quality is stored with the image. If you set
the quality value to something low in JMagick, the image will have low
quality.

> One more Quick Question, How do I set the DPI while saving an image?

Please read the comments in the code or generate the Javadoc. Use the
MagickImage#setXResolution and/or MagickImage#setYResolution methods.

Regards,
Eric

_______________________________________________
JMagick mailing list
JMagick@...
http://www.yeo.id.au/mailman/listinfo/jmagick

 « Return to Thread: How to do JPEG Compression Save at 10