rust
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.