no EXIF tags from PNG files
I have many PNG files (under Linux), where the exifread only returns
WARNING:exifread:PNG file does not have exif data.
If I set the logging.level to DEBUG, I get this:
DEBUG:exifread:PNG format recognized in data[0:8]=89504e470d0a1a0a
DEBUG:exifread:PNG found chunk IHDR
DEBUG:exifread:PNG found chunk zTXt
DEBUG:exifread:PNG found chunk zTXt
DEBUG:exifread:PNG found chunk iCCP
DEBUG:exifread:PNG found chunk iTXt
DEBUG:exifread:PNG found chunk cICP
DEBUG:exifread:PNG found chunk IDAT
...
DEBUG:exifread:PNG found chunk IDAT
DEBUG:exifread:PNG found chunk IEND
WARNING:exifread:PNG file does not have exif data.
JPG and TIFF files (exported by darktable from the same RAW) work and exiv2 can show the EXIF tags of the PNG.
Please share a sample file which can be added to the test resources, thanks.
Sorry for the long delay, in the meantime I forgot where these files are. Now I "stumbled" over one, but the size (141MB) seems to big to upload it.-( Is there a share on github, where I can upload it?
Sorry for the long delay, in the meantime I forgot where these files are. Now I "stumbled" over one, but the size (141MB) seems to big to upload it.-( Is there a share on github, where I can upload it?
No worries, you can try to compress the image data without modifying the exif data.