jekyll-gallery-generator icon indicating copy to clipboard operation
jekyll-gallery-generator copied to clipboard

Is the EXIFR data working for PNG images too?

Open 888ba8 opened this issue 3 years ago • 1 comments

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.

888ba8 avatar Jan 09 '21 23:01 888ba8

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.

gertoe avatar Jan 10 '21 00:01 gertoe