I'm trying to render a TIF file using the standard Java APIs, JAI and ImageIO:
RenderedOp op = JAI.create("fileload", new File("C:\\test.tif").getAbsolutePath());
or
BufferedImage image = ImageIO.read(new File("C:\\test.tif"));
In both I get the fallowing error:
EOL code word encountered in White run.
I have the latest versions of jai_core, jai_codecs and jai_imageio on my classpath.
I tried to open the same image in other apps like The Gimp and Windows Image Viewer, and they can open it properly, although the bottom half appears to be missing.
Any idea what seems to be the problem?