pub trait ImageICC {
    fn icc_profile(&self) -> Option<Bytes>;
    fn set_icc_profile(&mut self, profile: Option<Bytes>);
}
Expand description

Trait to read and write the raw ICC Profile for an image

Required Methods

Get the raw ICC Profile of this image

Overwrites the pre-existing ICC Profile of this image.

Removes any pre-existing ICC Profile from this image. Adds a new ICC Profile if profile is Some.

Implementors