I have a TIFF image that was not displayable by IrfanView 3.99. The message said to download a plugin. (not sure which one) I downloaded all of the latest plugins and the image is now viewable.
I'm trying to figure out what's in the image that isn't supported by Java. When I used iText to get the number of pages, I got this error, "java.lang.IllegalArgumentException: Bad endianness tag (not 0x4949 or 0x4d4d)."
When I switched to Java ImageIO, I got this error:
javax.imageio.IIOException: Couldn't seek!
at com.sun.media.imageioimpl.plugins.tiff.TIFFImageRe ader.locateImage(TIFFImageReader.java:256)
at com.sun.media.imageioimpl.plugins.tiff.TIFFImageRe ader.getNumImages(TIFFImageReader.java:279)
I changed the code and got this: "javax.imageio.IIOException: I/O error reading image metadata!"
Thanks,
Stuart
I'm trying to figure out what's in the image that isn't supported by Java. When I used iText to get the number of pages, I got this error, "java.lang.IllegalArgumentException: Bad endianness tag (not 0x4949 or 0x4d4d)."
When I switched to Java ImageIO, I got this error:
javax.imageio.IIOException: Couldn't seek!
at com.sun.media.imageioimpl.plugins.tiff.TIFFImageRe ader.locateImage(TIFFImageReader.java:256)
at com.sun.media.imageioimpl.plugins.tiff.TIFFImageRe ader.getNumImages(TIFFImageReader.java:279)
I changed the code and got this: "javax.imageio.IIOException: I/O error reading image metadata!"
Thanks,
Stuart
Comment