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

Invalid marker found in entropy data

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0-alpha1
    • 1.0-alpha2
    • Format: JPEG
    • None

    Description

      I'm getting the following exception when trying to read a JPEG:

      Exception in thread "main" org.apache.commons.imaging.ImageReadException: Invalid marker found in entropy data
      at org.apache.commons.imaging.formats.jpeg.decoder.JpegInputStream.nextBit(JpegInputStream.java:50)
      at org.apache.commons.imaging.formats.jpeg.decoder.JpegDecoder.decode(JpegDecoder.java:426)
      at org.apache.commons.imaging.formats.jpeg.decoder.JpegDecoder.readMCU(JpegDecoder.java:320)
      at org.apache.commons.imaging.formats.jpeg.decoder.JpegDecoder.visitSOS(JpegDecoder.java:124)
      at org.apache.commons.imaging.formats.jpeg.JpegUtils.traverseJFIF(JpegUtils.java:80)
      at org.apache.commons.imaging.formats.jpeg.decoder.JpegDecoder.decode(JpegDecoder.java:436)
      at org.apache.commons.imaging.formats.jpeg.JpegImageParser.getBufferedImage(JpegImageParser.java:98)
      at org.apache.commons.imaging.Imaging.getBufferedImage(Imaging.java:1378)
      at org.apache.commons.imaging.Imaging.getBufferedImage(Imaging.java:1341)

      Attachments

        1. image.jpeg
          36 kB
          John Hewson

        Issue Links

          Activity

            People

              kinow Bruno P. Kinoshita
              jahewson John Hewson
              Votes:
              6 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 3h
                  3h