kamadak / exif-rs

Exif parsing library written in pure Rust
BSD 2-Clause "Simplified" License
190 stars 42 forks source link

Add/change metadata to an image (png or jpeg) #36

Open Alexsilva43 opened 6 months ago

Alexsilva43 commented 6 months ago

Hello, I've taken a look in the docs of the exif::experimental::Writer module and I didn't find any method to change the metadata of an image. The only example that I've seen in docs is this one at the top of the page: Example kadamak-exit writer image

But this code only encodes the metadata in bytes, there's not any example adding this metadata to an image.

Is there any method to do this or the crate was discontinued? Thanks in advance for any answer.