icc-profile

Crates.ioicc-profile
lib.rsicc-profile
version0.0.2
sourcesrc
created_at2022-05-05 02:41:01.311587
updated_at2022-05-05 02:41:01.311587
descriptionICC Profile reader
homepage
repositoryhttps://github.com/mith-mmk/icc-profile
max_upload_size
id580785
size134,627
MITH@mmk (mith-mmk)

documentation

README

ICC Profile Reader

Example

pub fn main() -> std::io::Result<()> {
    let mut is_fast = true;
    for argument in env::args() {
        if is_fast {
            is_fast = false;
            continue
        }
        println!("{}",argument);
        let icc_profile = icc_profile::utils::load(argument)?;
        let decoded = DecodedICCProfile::new(&icc_profile.data)?;
        println!("{}",decoded_print(&decoded, 0)?);
    }
    Ok(())
}

Todo

  • ICC Profile 4.x ,5.x tags full support.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Commit count: 0

cargo fmt