Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve WebP Format Detection in Data Extension #81

Merged
merged 1 commit into from
Sep 16, 2024

Conversation

lukaskasa
Copy link
Contributor

The PR fixes an issue where some WebP Images particularly animated ones, were not properly detected due to an incorrect format check.

Now it ensures a more accurate identification of WebP images by separately checking the RIFF (0-4 bytes) and WEBP header (8-12) bytes to allow a better handling of different WebP variants.

@yeatse
Copy link
Owner

yeatse commented Sep 16, 2024

Good catch! Thanks for this!

@yeatse yeatse merged commit 3e985c9 into yeatse:main Sep 16, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants