jekyll-gallery-generator
jekyll-gallery-generator copied to clipboard
Is the EXIFR data working for PNG images too?
Hi @ggreer
In your plug-in, did you manage to get EXIFR data working for PNG images?
See also https://talk.jekyllrb.com/t/using-png-exiftags-in-jekyll-p-s-jpgs-are-working-fine/5485 in this regard. I can not figure out how to get it working for PNG images, whereas it works fine for JPG.
Hello 888ba8,
As far as I remember, the PNG specification does not support exif metadata – or it least it did not – and exifr does currently not support PNG files either (cf. https://github.com/remvee/exifr/). But the specification might have changed in the past which would be in accordance with your report. However, this still requires an appropriate support for the png metadata implemented in the library.
Thus, unless you or someone else is able to provide a patch for the exifr gem, the exif metadata of PNG files cannot be accessed.