-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PNG and TIFF XMP #5531
Comments
If I run In 8.2.0 (#5144), we added |
As for your TIFF image, as the error says, Pillow doesn't have a |
Yes, that would be pretty ideal :) Anything that uniformizes tag access across different formats is a step in the right direction imo. It would be nice to have it accessible through the same method with tiff tag_v2 data as well. |
I've added |
Pillow 8.3.0 has now been released with this new feature. However, be aware that you will have to install |
What did you do?
Download a PNG file with exif data, for example https://commons.wikimedia.org/wiki/File:Ares_Tower_Vienna_from_SW_on_2015-07-10.png (direct link: https://upload.wikimedia.org/wikipedia/commons/5/5c/Ares_Tower_Vienna_from_SW_on_2015-07-10.png )
What did you expect to happen?
exifdata[34855] == 100 # ISO sensitivity
See alse: #3674
What actually happened?
exifdata is None.
pilimg.info has the following keys: ['dpi', 'icc_profile', 'XML:com.adobe.xmp', 'chromaticity']; XML:com.adobe.xmp contains all of the info, but it is a very messy xml string.
What are your OS, Python and Pillow versions?
On a side note I can't get exif info directly from a tiff file either, _getexif() then raises an AttributeError. egfile: https://commons.wikimedia.org/wiki/File:Book_of_Hours_(Use_of_Metz)_Fol._27r,_Decorated_Initials.tif (direct: https://upload.wikimedia.org/wikipedia/commons/1/16/Book_of_Hours_%28Use_of_Metz%29_Fol._27r%2C_Decorated_Initials.tif )
The text was updated successfully, but these errors were encountered: