ImageReader.read抛出一个IOException,打开一个tiff文件:
javax.imageio.IIOException: No reference line present.
at com.sun.media.imageioimpl.plugins.tiff.TIFFFaxDecompressor.decodeT4(TIFFFaxDecompressor.java:903)
at com.sun.media.imageioimpl.plugins.tiff.TIFFFaxDecompressor.decodeRaw(TIFFFaxDecompressor.java:677)
at com.sun.media.imageio.plugins.tiff.TIFFDecompressor.decode(TIFFDecompressor.java:2514)
at com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.decodeTile(TIFFImageReader.java:1137)
at com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.read(TIFFImageReader.java:1417)
at javax.imageio.ImageReader.read(ImageReader.java:940)
我可以在windows photo viewer,gimp,mspaint等中打开图片。任何人都知道可能导致这种情况的原因,或者如何解决?