drewnoakes / metadata-extractor

Extracts Exif, IPTC, XMP, ICC and other metadata from image, video and audio files
Apache License 2.0
2.57k stars 482 forks source link

Fix PNG iTXt encoding issue #611

Closed drewnoakes closed 1 year ago

drewnoakes commented 1 year ago

This is a port of a fix from the .NET library in https://github.com/drewnoakes/metadata-extractor-dotnet/pull/329

PNG chunks of type iTXt should have keywords and values decoded using UTF-8, not Latin1 encoding.