TIFF to JPEG conversion in Servlet