TechnikTobi / little_exif

A little library for reading and writing EXIF data in pure Rust.
Apache License 2.0
18 stars 4 forks source link

Add WebP support #1

Open LBlend opened 6 months ago

LBlend commented 6 months ago

This may be a shot in the dark is the project hasn't gotten any commits in a while but I really like the interface that this library provides and would highly appreciate WebP support

TechnikTobi commented 6 months ago

Will do.

TechnikTobi commented 6 months ago

I've added some basic WebP support. This should now work with extended .webp files - see https://developers.google.com/speed/webp/docs/riff_container#extended_file_format what this means. Basically, the file needs to have a VP8X chunk (the simple versions don't have one of those and thus don't support EXIF data). There is the plan to add a converter so that files get a VP8X if they don't have one, but I wanted to get a first version out asap for you to test & give feedback.

LBlend commented 6 months ago

I've added some basic WebP support. This should now work with extended .webp files - see https://developers.google.com/speed/webp/docs/riff_container#extended_file_format what this means. Basically, the file needs to have a VP8X chunk (the simple versions don't have one of those and thus don't support EXIF data). There is the plan to add a converter so that files get a VP8X if they don't have one, but I wanted to get a first version out asap for you to test & give feedback.

Great! I will check it out and play around with it when I get the time to! I'll post an update about it then. Thank you!