Exif Metadata getting set incorrectly
- Dominant language
- Go
- Stars
- 723
- Forks
- 113
- PR merge metrics
- No merged PRs in 30d
Description
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](https://github.com/rwcarlsen/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?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the SetMetadata and GetMetadata calls described in the issue and reproduce the JPEG-to-WebP conversion using goexif-extracted data. Compare the resulting WebP metadata with the online EXIF viewer's failure, then determine whether the issue can be isolated to this repository. Done means the encoded WebP's EXIF metadata is decoded successfully by an external tool.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- computer-graphics
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 18/100