[
https://issues.apache.org/jira/browse/IMAGING-378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17875197#comment-17875197
]
Michael Gabelmann commented on IMAGING-378:
-------------------------------------------
{{org.apache.commons.imaging.ImagingException: Invalid Block Size : 33007 >
32014}}
{{ at
org.apache.commons.imaging.formats.jpeg.iptc.IptcParser.parseAllBlocks(IptcParser.java:180)}}
{{ at
org.apache.commons.imaging.formats.jpeg.iptc.IptcParser.parsePhotoshopSegment(IptcParser.java:330)}}
{{ at
org.apache.commons.imaging.formats.jpeg.iptc.IptcParser.parsePhotoshopSegment(IptcParser.java:377)}}
{{ at
org.apache.commons.imaging.formats.jpeg.segments.App13Segment.parsePhotoshopSegment(App13Segment.java:66)}}
{{ at
org.apache.commons.imaging.formats.jpeg.JpegImageParser.getPhotoshopMetadata(JpegImageParser.java:670)}}
{{ at
org.apache.commons.imaging.formats.jpeg.JpegImageParser.getMetadata(JpegImageParser.java:644)}}
{{ at
org.apache.commons.imaging.formats.jpeg.JpegImageParser.getMetadata(JpegImageParser.java:65)}}
{{ at org.apache.commons.imaging.Imaging.getMetadata(Imaging.java:565)}}
{{ at org.apache.commons.imaging.Imaging.getMetadata(Imaging.java:590)}}
> Invalid Block Size error
> ------------------------
>
> Key: IMAGING-378
> URL: https://issues.apache.org/jira/browse/IMAGING-378
> Project: Commons Imaging
> Issue Type: Bug
> Components: Format: JPEG
> Affects Versions: 1.0.0-alpha5
> Reporter: Michael Gabelmann
> Priority: Major
> Attachments: image_1.jpg, image_2.jpg
>
>
> When I try to read the metadata from the attached image "image_2.jpg" I get a
> "Invalid Block Size : 33007 > 32014" error.
> The image was exported from Adobe Lightroom.
> If I export the same image "image_1.jpg" with no edits, then I am able to
> retrieve the metadata as expected.
> I am calling:
> {{ImageMetadata metadata = Imaging.getMetadata(file);}}
> Is this a Adobe Lightroom issue? I am able to preview the image in a number
> of different tools.
> I have made edits to a number of other images and they all can be read by the
> tool, but for some reason this one cannot. I have tried making different
> edits and it still fails.
> I am hoping this can be addressed or someone can tell me what is wrong with
> the file and I can discuss with Adobe.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)