Convert rgb to cmyk
Posted: 2014-03-24T14:09:30-07:00
Hi, I need to convert the images that I upload to cmyk, right now the images are in rgb?
This lib can help me to make this happen?
This lib can help me to make this happen?
Use https://github.com/ImageMagick/ImageMagick/discussions instead.
https://imagemagick.com/discourse-server/
https://imagemagick.com/discourse-server/viewtopic.php?t=25275
Code: Select all
using (MagickImage image = new MagickImage("Input.png"))
{
image.ColorAlpha(new MagickColor("#FFF")); // You only need this when your image contains transparency.
image.AddProfile(ColorProfile.SRGB);
image.AddProfile(ColorProfile.USWebCoatedSWOP);
image.Write("Output.jpg");
}