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

Exif Metadata getting set incorrectly #43

Open
aayush2610 opened this issue Jan 17, 2022 · 0 comments
Open

Exif Metadata getting set incorrectly #43

aayush2610 opened this issue Jan 17, 2022 · 0 comments

Comments

@aayush2610
Copy link

aayush2610 commented Jan 17, 2022

I have a service where I am able to convert jpeg images into webp and render them. The jpeg image that I get has exif information which I extract using goexif library.

In order to preserve the metadata in the webp image as well, I encode my image with webp encoder and try to set the EXIF data that I extracted earlier, in the encoded image data using the method SetMetadata. This executes successfully and if I try to call GetMetadata after the previous step, I get the correct response i.e all the EXIF tags that were supposed to be set.

The issue that I face here is, when I try to extract the metadata of the returned webp image using any other online tool, like exif viewer extension on chrome, it errors out with failure to decode exif metadata

Can someone help here?

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

1 participant