ImageIO has a quantization level, but if you want to use the other features of the Sun encoder like horizontal/vertical subsampling, for example, I think you're out of luck. Sorry.
On Tue, Aug 18, 2009 at 2:49 PM, JIA Pei<[email protected]> wrote: > > Hi, Dear All: > > I happened to notice there is some differences between SUN JDK and OpenJDK. > In fact, I'm using "JPEGImageEncoder", which seems to be supported well by > SUN JDK but not by OpenJDK. Especially, the function "setJPEGEncodeParam". > > So, I'm wondering if JAI+JAI ImageIO can replace the above JPEGImageEncoder > ? My purpose is just for .jpeg image saving. > > > Best Regards > JIA Pei > > -- > Welcome to Vision Open > http://www.visionopen.com >
