-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
Convert Proof images to WebP ? #577
Comments
For information, we get a ~30% file size decrease when using webp: https://developers.google.com/speed/webp. |
When using the web app "proof upload" workflow, I get a decrease by a factor of 6-7 👀
|
That's impressive! |
As discussed, priority is rather to have the mobile app send us a .webp directly (will speed up contribution, and bandwith). We can postpone to later the decision to convert in the backend the non-webp images that we receive. |
Related: it doesn't seem we retain EXIF data (both from WebP images coming from the web app, and JPEG images coming from the mobile app). I created an issue related to the frontend to understand why (i thought EXIF was kept): fengyuanchen/compressorjs#196 Edit : moving the discussion here: openfoodfacts/open-prices-frontend#1092 |
Story
We currently store as-is the proof images that we receive (and we also create a thumbnail, thanks to #340 )
The frontend currently converts on the fly the user images to .webp before sending them to the server. done here
But the mobile integration sends the raw images.
Should we convert images in the backend ? Should we push the mobile to convert locally as well ?
Why WebP ?
Alternatives to WebP ?
AVIF
The text was updated successfully, but these errors were encountered: