[OpenJDK 2D-Dev] JPEGImageEncoder inquiry...

Adam Augusta roxton at gmail.com
Tue Aug 18 19:32:07 UTC 2009


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<jp4work at gmail.com> 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
>



More information about the 2d-dev mailing list