posted 19 years ago
JPEG is an inherently lossy format. Converting a TIFF to a JPEG is going to lose quality. That may become unnoticeable if you set JPEG quality to 100% (trading away compression, i.e. file size, in the process), but then, it may not. Since TIFFs are mostly used where the exact value of pixels matter, and JPEG will not preserve those, you're probably better off not converting. (I'm not sure you actually can set JPEG quality with ImageIO; I generally use ImageJ for image processing, and it can do that).