-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Bob,
Bob Carpenter wrote: | I didn't know that ImageIO reduces quality with each pass. It's not so much ImageIO as JPEG in general. JPEG is lossy compression which means that each time you encode a JPEG image, you lose some detail because of the cosine coefficients that are dropped to perform the compression. This is amplified by the probability that you are reading a JPEG at a certain level of detail (say "90%" JPEG detail) and writing it out at another level (say, "50%" detail). | ImageIO is used | at least twice for each file because it gets stored as a BLOB and is served | to clients by saving to disk then reading back in with ImageIO. You should try to avoid JPEG interpretation of your image files unless you actually need to do image processing. You ought to be able to read and write raw bytes a lot of the time. That will significantly improve the performance of your application, too! - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkhWcEsACgkQ9CaO5/Lv0PBGGQCgqR4s7UrUA/r9YmEEsT1C1EGF AuEAoJ0xlGRzm4ZFU/WotbYjyOkCnzUY =QtV5 -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
