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
fn icc_profile(&self) -> Option<Bytes>
fn icc_profile(&self) -> Option<Bytes>
Get the raw ICC Profile of this image
fn set_icc_profile(&mut self, profile: Option<Bytes>)
fn set_icc_profile(&mut self, profile: Option<Bytes>)
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
.