wp-media / wp-media/imagify-plugin
Keep EXIF Data in WebP Images Too if the Option is Enabled in Settings Page
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 82
- Forks
- 31
- Avg merge
- 5d 10h
- Merged PRs (30d)
- 9
Description
Is your feature request related to a problem? Please describe.
When WebP versions are created, the EXIF data is removed whether or not the option to keep EXIF data is enabled in the Imagify plugin settings page.
Describe the solution you'd like
It may be helpful if the WebP images adhered to the Keep all EXIF data from your images setting as the optimized JPG/PNG images do, so the EXIF data could be preserved in WebP versions as well if that is what the user wants.
Additional context
This is a ticket that illustrates the problem this may be creating with colors of WebP images sometimes. I've run a few test optimizations to compare resulting color in various cases:
Here is the Original image

Here is the Optimized JPG with EXIFs kept (color same as original)

Here is the Optimized WebP version (color changed fairly substantially)
https://jmp.sh/zbXMrmI
And here is the Optimized JPG when EXIFs are removed (color changed like the WebP version)

Given that both the WebP version and the optimized JPG version without EXIF are seeing the same color change (and both are missing the EXIF data), it seems the color change in the WebP version may be likely due to missing EXIF data rather than something related to the WebP file type specifically or the process by which we generate them.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue does not name specific files or tests. Start by tracing WebP creation and the Keep all EXIF data from your images setting, comparing it with optimized JPG/PNG handling. Done when WebP output preserves EXIF when the setting is enabled and matches the documented behavior when it is disabled; verify against the color examples described.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, wordpress
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100