> Here's the code that I'm using:
>
[quoted text clipped - 7 lines]
> I'm wondering about the quality of the output image (i.e how much data
> is lost), and is there a way to change it?
this is java , what do you think?
have a look at:
JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(os);
JPEGEncodeParam param =
encoder.getDefaultJPEGEncodeParam(outImage);
param.setQuality((float) .9, false);
encoder.setJPEGEncodeParam(param);
encoder.encode(outImage);
Steve

Signature
NewsGuy.Com 30Gb $9.95 Carry Forward and On Demand Bandwidth
Trung Chinh Nguyen - 26 Apr 2006 10:59 GMT
Thanks for your answer, this is exactly what I'm looking for :)
> this is java , what do you think?
>
[quoted text clipped - 9 lines]
>
> Steve