Pillow icon indicating copy to clipboard operation
Pillow copied to clipboard

Only preserve TIFF IPTC_NAA_CHUNK tag if type is BYTE or UNDEFINED

Open radarhere opened this issue 1 year ago • 0 comments

Resolves #7940

The issue contains an image where tag 33723 is specified as LONG, when it should be BYTE or UNDEFINED according to https://www.awaresystems.be/imaging/tiff/tifftags/iptc.html.

This changes Pillow to not preserve the tag automatically if it has the wrong type.

radarhere avatar Apr 06 '24 08:04 radarhere