Hi,
I have a piece of code that uses JAI to do some image ops and uses ImageIO to load and store the source/results, respectively. Recently I tried to set it up to use ImageWriteParam to override the default JPEG compression. When I do that, the image gets truncated. You can see the original thread (and a self-contained test code) here:

http://forums.java.net/jive/thread.jspa?messageID=291068

I tried the workaround of doing a transform of (-minX, -minY) right after the crop and that fixed it, but it seems like that shouldn't be a requirement.

Thanks,

Derek

--
----------------------------------------------------------------------
Derek Chen-Becker
Senior Network Engineer, Security Architect
CPI Corp, Inc.
1706 Washington Ave
St. Louis, MO 63103
Phone: 314-231-7711 x6455
Fax:   314-613-6724
[EMAIL PROTECTED]
PGP Key available from public key servers
Fingerprint: E4C4 26C0 8588 E80A C29F  636D 1FBE 0FE3 2871 4AE8
----------------------------------------------------------------------

Reply via email to