drewnoakes/metadata-extractor

End of data reached when parsing photoshop directory of jpg

オープン

#551 opened on 2021/08/30

 (2 件のコメント) (0 件のリアクション) (0 人の担当者)Java (470 件のフォーク)batch import
good-first-issuehelp wantedimage-queue

Repository metrics

Stars
 (2,411 個のスター)
PR merge metrics
 (平均マージ 3d 2h) (30d で 2 merged PRs)

説明

One of our photographers had a problem with the image linked below. The actual error that happens is "End of data reached." for the Photoshop directory. He told me the problem persisted even after cropping the image. This leads me to believe it is not simply a corrupt image but either a bug in either Lightroom (that outputs invalid meta data) or in this library.

What also smells funny is that it ends up producing two Photoshop directories with errors in them. I read in the PhotoshopReader class that it will produce both Photoshop and IPTC directories so maybe it is the culprint.

image

https://www.dust2.dk/img/problemsample.jpg

コントリビューターガイド