List Info

Thread: ImageInfo's setQuality doesnt seems to work




ImageInfo's setQuality doesnt seems to work
country flaguser name
Canada
2007-04-09 14:16:44
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
Magick-usersimagemagick.org
http://studio.imagemagick.org/mailman/listinfo/magick
-users

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )