[][src]Trait img_parts::ImageICC

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

Trait to get, add and remove the ICC Profile of an image.

Required methods

fn icc_profile(&self) -> Option<Vec<u8>>

Get the raw ICC Profile of this image

fn set_icc_profile(&mut self, profile: Option<Vec<u8>>)

Overwrites the pre-existing ICC Profile of this image.

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

Loading content...

Implementors

impl ImageICC for Jpeg[src]

impl ImageICC for WebP[src]

Loading content...