pub trait ImageEXIF {
    fn exif(&self) -> Option<Bytes>;
    fn set_exif(&mut self, exif: Option<Bytes>);
}
Expand description

Trait to read and write the raw EXIF metadata for an image

Required Methods

Get the raw EXIF metadata of this image

Overwrites the pre-existing EXIF metadata of this image.

Removes any pre-existing EXIF metadata from this image. Adds new EXIF metadata if exif is Some.

Implementors