Re: Better jpeg quality

Posted by Albert Cardona on
URL: http://imagej.273.s1.nabble.com/Better-jpeg-quality-tp3697120p3697125.html

Jon,

There is no such plugin, but you can have a look yourself at the
com.sun.image.codec.jpeg.*  classes, particuarly:

JPEGImageEncoder encoder =
JPEGCodec.createJPEGEncoder(f);                          

JPEGEncodeParam param = encoder.getDefaultJPEGEncodeParam(bi)


and the decoder equivalents.

But be warned: half the time one doesn't get the parameters right, and
the jpg file fails to decode.


Albert

--
Albert Cardona
http://www.mcdb.ucla.edu/Research/Hartenstein/acardona