Hi,
 
I'm using Jmagick for ImageMagick 6.1.8
 
I'm tryin to lower the quality of a jpg, without altering its size. My
guess is what i did in that snippet, without success : 
 
wImage = new MagickImage(); 

wImage.blobToImage( wInfo, wOut.toByteArray() );

wImage.setMagick( wMagick ); 

wImage.setCompression(CompressionType.JPEGCompression);

wImage.profileImage("*", null);

wImage.enhanceImage(); 

wInfo.setCompression(CompressionType.JPEGCompression);

wInfo.setQuality(10);

return wImage.imageToBlob( wInfo );

 

I've been able to apply many modification to the jpg with success, but
'just' setting a different quality doesnt seems to work; The result is
the same, in file size and human eye analysis.

 

Am i doing something wrong? Is the feature bugged? Why setQuality on
ImageInfo and not on MagickImage?

 

Thanks a lot!

 

Mart.

_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to