Uploaded image for project: 'Commons Imaging'
  1. Commons Imaging
  2. IMAGING-240

JPEG : Not a Valid TIFF File

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.0-alpha1
    • None
    • Format: JPEG

    Description

      Hello,

      The attached image causes an anomaly feedback when calling Imaging.getImageInfo() :

      Not a Valid TIFF File
      java.io.IOException: Not a Valid TIFF File
      	at org.apache.commons.imaging.common.BinaryFunctions.read4Bytes(BinaryFunctions.java:197)
      	at org.apache.commons.imaging.formats.tiff.TiffReader.readDirectory(TiffReader.java:201)
      	at org.apache.commons.imaging.formats.tiff.TiffReader.readDirectory(TiffReader.java:245)
      	at org.apache.commons.imaging.formats.tiff.TiffReader.readDirectory(TiffReader.java:114)
      	at org.apache.commons.imaging.formats.tiff.TiffReader.readDirectories(TiffReader.java:107)
      	at org.apache.commons.imaging.formats.tiff.TiffReader.read(TiffReader.java:412)
      	at org.apache.commons.imaging.formats.tiff.TiffReader.readContents(TiffReader.java:404)
      	at org.apache.commons.imaging.formats.tiff.TiffImageParser.getMetadata(TiffImageParser.java:130)
      	at org.apache.commons.imaging.ImageParser.getMetadata(ImageParser.java:224)
      	at org.apache.commons.imaging.formats.jpeg.JpegImageParser.getExifMetadata(JpegImageParser.java:359)
      	at org.apache.commons.imaging.formats.jpeg.JpegImageParser.getMetadata(JpegImageParser.java:316)
      	at org.apache.commons.imaging.formats.jpeg.JpegImageParser.getImageInfo(JpegImageParser.java:739)
      	at org.apache.commons.imaging.Imaging.getImageInfo(Imaging.java:701)
      	at org.apache.commons.imaging.Imaging.getImageInfo(Imaging.java:593)

      Thanks,

      Attachments

        1. img.jpg
          112 kB
          Antoine POURCHEZ

        Activity

          People

            Unassigned Unassigned
            anp Antoine POURCHEZ
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: