Convert a bitmap image to an uncompressed tif image in Java
I'm trying to convert a bitmap image into an uncompressed tif file for use with the Tesseract OCR engine. I can use this method to produce a compressed tif file... final BufferedImage bmp = ImageIO.read(new File("input.bmp")); ImageIO.write(bmp, "jpg", new File("output.tif")); This produces an empty tif file when the "jpg" is changed to tif as these files are dealt with in Java Advanced Imaging (JAI). How can I create an uncompressed tif image? Should I decompress the tif image produced from the above code or is there another way to handle the conversion process? Any examples provided would be