Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Ability to apply color profiles to an ImageBuffer/DynamicImage #1030

Open
oceanlewis opened this issue Sep 5, 2019 · 1 comment

Comments

@oceanlewis
Copy link

I would like to be able to apply an .icc color profile to an ImageBuffer

My specific use case for this functionality is to enable converting an image to CMYK colorspace for printing.

This is more generally applicable to printed documents.

Draft

let cmyk_profile = include_bytes!("../GRACoL 2013 CRPC6.icc");
let mut my_image = DynamicImage::ImageRgb8(...);
my_image.apply_color_profile(cmyk_profile);
@fintelia
Copy link
Contributor

fintelia commented Sep 6, 2019

This is related to #786. I'd like to have proper color space support, but there are a bunch of other higher priority items for the crate so it probably won't be coming any time soon (unless you or someone else want to try implementing it!)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants