Rust ICC management
Supports only CMYK -> RGBX and RGBX -> RGBX
Example
let f_str = "./assets/dci_p3_profile.jpeg";
let file = open.expect;
let img = open.unwrap.decode.unwrap;
let rgb = img.to_rgb8;
let mut decoder = new.unwrap;
let icc = decoder.icc_profile.unwrap.unwrap;
let color_profile = new_from_slice.unwrap;
let dest_profile = new_srgb;
let transform = color_profile
.create_transform_8bit
.unwrap;
let mut dst = vec!;
for in rgb
.chunks_exact
.zip
save_buffer
.unwrap;
This project is licensed under either of
at your option.