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

retainExif does not work when converting to webP ? #196

Closed
raphodn opened this issue Dec 3, 2024 · 1 comment
Closed

retainExif does not work when converting to webP ? #196

raphodn opened this issue Dec 3, 2024 · 1 comment

Comments

@raphodn
Copy link

raphodn commented Dec 3, 2024

Compressor version

1.2.1

Link to minimal reproduction

https://github.com/openfoodfacts/open-prices-frontend/blob/master/src/components/ProofInputRow.vue

Steps to reproduce

Uploading a JPEG image with the following settings

Compressor.setDefaults({
  checkOrientation: true,  // default
  retainExif: true,
  mimeType: 'image/webp',
})

What is expected?

A WebP image that retains EXIF

What is actually happening?

a WebP image without EXIF

System Info

No response

Any additional comments?

Input & Output images visible here: https://file.io/MjyrNNP2teRR

@fengyuanchen
Copy link
Owner

Exif info only available for JPEG images.

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

No branches or pull requests

2 participants