Crates.io | icc-profile |
lib.rs | icc-profile |
version | 0.0.2 |
source | src |
created_at | 2022-05-05 02:41:01.311587 |
updated_at | 2022-05-05 02:41:01.311587 |
description | ICC Profile reader |
homepage | |
repository | https://github.com/mith-mmk/icc-profile |
max_upload_size | |
id | 580785 |
size | 134,627 |
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(())
}
Licensed under either of
at your option.
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.