Need assistance on colorizing a grayscale image without affecting black/white hues
Posted: 2016-07-18T13:38:36-07:00
Here's another original image:
https://postimg.org/image/bpig021c1/
What I'm trying to achieve:
https://postimg.org/image/vguq10pr5/
This is what I get currently...
https://postimg.org/image/3ky9pvqg7/
...using the .NET wrapper:
image.Colorize(new MagickColor("#ffff00"), (Percentage)50);
Instead of washing out the black/white hues, I'd like to only saturate the various shades of grey with shades of whatever hex color I pass in.
If you load up Photoshop, go to Image > Hue/Saturation and configure the HSL for 60/70%/50%, you'll get the desired result.
How would I go about doing this, given these values?
https://postimg.org/image/bpig021c1/
What I'm trying to achieve:
https://postimg.org/image/vguq10pr5/
This is what I get currently...
https://postimg.org/image/3ky9pvqg7/
...using the .NET wrapper:
image.Colorize(new MagickColor("#ffff00"), (Percentage)50);
Instead of washing out the black/white hues, I'd like to only saturate the various shades of grey with shades of whatever hex color I pass in.
If you load up Photoshop, go to Image > Hue/Saturation and configure the HSL for 60/70%/50%, you'll get the desired result.
How would I go about doing this, given these values?