mirror of
https://github.com/webmproject/libwebp.git
synced 2025-01-27 23:22:56 +01:00
fix EXIF parsing in PNG
'exiftool' puts an 'APP1' chunk for exif, e.g.: https://metacpan.org/source/EXIFTOOL/Image-ExifTool-5.87/lib/Image/ExifTool/PNG.pm#L305 Change-Id: I313d3e6945898526b8a4baf3d9016a2591a1a817 (cherry picked from commit bec11092ca9c32d8f447b9313502963d000e0962)
This commit is contained in:
parent
a71e5d84e9
commit
a94a88dd62
@ -108,6 +108,8 @@ static const struct {
|
||||
// See also: ExifTool on CPAN.
|
||||
{ "Raw profile type exif", ProcessRawProfile, METADATA_OFFSET(exif) },
|
||||
{ "Raw profile type xmp", ProcessRawProfile, METADATA_OFFSET(xmp) },
|
||||
// Exiftool puts exif data in APP1 chunk, too.
|
||||
{ "Raw profile type APP1", ProcessRawProfile, METADATA_OFFSET(exif) },
|
||||
// XMP Specification Part 3, Section 3 #PNG
|
||||
{ "XML:com.adobe.xmp", MetadataCopy, METADATA_OFFSET(xmp) },
|
||||
{ NULL, NULL, 0 },
|
||||
|
Loading…
x
Reference in New Issue
Block a user