As a user I want to be able to keep Exif/XMP/IPTC or other metadata when optimizing an image, so that metadata affecting image rendering are kept.
Why
As we've discussed on discord I've found that when optimizing a file, yoga strip it from metadata. It result in a change of color of resulting image, weither when optimizing to webp or jpg.
Example file
Below are source file in JPG, and webp image in a zip (github is not compatible with webp upload)
img_webp.zip
img_brute_photoshop.jpg
Raw image from a photoshop export, lot of EXIF metadata
img_export_gimp_no_exif.webp
Converted image using Gimp, there is still metadata as seen with this extract:
Summary
As a user I want to be able to keep Exif/XMP/IPTC or other metadata when optimizing an image, so that metadata affecting image rendering are kept.
Why
As we've discussed on discord I've found that when optimizing a file, yoga strip it from metadata. It result in a change of color of resulting image, weither when optimizing to webp or jpg.
Example file
Below are source file in JPG, and webp image in a zip (github is not compatible with webp upload) img_webp.zip
img_brute_photoshop.jpg
Raw image from a photoshop export, lot of EXIF metadata
img_export_gimp_no_exif.webp
Converted image using Gimp, there is still metadata as seen with this extract:
img_optimized_noresized.webp
Optimised image without resizing, with a loss of color, no metadata.
img_optimized_resized.webp
Optimised image with resizing, same loss of color, no metadata.