commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Groß (JIRA) <j...@apache.org>
Subject [jira] [Commented] (IMAGING-134) Invalid marker found in entropy data
Date Sun, 22 Feb 2015 20:25:12 GMT

    [ https://issues.apache.org/jira/browse/IMAGING-134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14332340#comment-14332340
] 

Michael Groß commented on IMAGING-134:
--------------------------------------

I am working on it and try to find an answer. Yet I could reproduce the problem - the image
files provided on both issues cause throwing of an ImageReadException. Here is the repository
and branch where I am working: http://github.com/mgmechanics/commons-imaging/tree/IMAGING-134.

> Invalid marker found in entropy data
> ------------------------------------
>
>                 Key: IMAGING-134
>                 URL: https://issues.apache.org/jira/browse/IMAGING-134
>             Project: Commons Imaging
>          Issue Type: Bug
>          Components: Format: JPEG
>    Affects Versions: 1.0
>            Reporter: John Hewson
>             Fix For: Patch Needed
>
>         Attachments: image.jpeg
>
>
> 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)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message