Search found 4 matches

by pti
2016-08-15T08:35:08-07:00
Forum: Magick.NET
Topic: CMYK Color Conversion
Replies: 10
Views: 29705

Re: CMYK Color Conversion

Thanks for all the suggestions but there might be something wrong with the Magick.Net implementation.
Even when using Quantum values, if I use ColorCMYK(255, 0, 0, 0) my color comes out red. If I use ColorCMYK(0, 255, 0, 0) my color comes out green. So ColorCMYK() seems to be setting RGB values ...
by pti
2016-08-14T07:42:57-07:00
Forum: Magick.NET
Topic: CMYK Color Conversion
Replies: 10
Views: 29705

Re: CMYK Color Conversion

I cannot make the change in RGB because the color space is much smaller than CMYK.
by pti
2016-08-13T13:39:27-07:00
Forum: Magick.NET
Topic: CMYK Color Conversion
Replies: 10
Views: 29705

Re: CMYK Color Conversion

Iv'e tried


image.TransformColorSpace(ColorProfile.SRGB, ColorProfile.USWebCoatedSWOP);
image.ColorSpace = ColorSpace.CMYK;


These commands should have changed the colorspace, and Photoshop shows the colorspace of the file as CMYK/8.

If I use

MagickColor destColor = new ColorCMYK(255, 0, 0, 0 ...
by pti
2016-08-13T09:50:34-07:00
Forum: Magick.NET
Topic: CMYK Color Conversion
Replies: 10
Views: 29705

CMYK Color Conversion

I have a PNG image generated by a QR code generator that I want to convert to CMYK and change the color.


using (MagickImage image = new MagickImage(inputFile))
{
image.Format = MagickFormat.Jpg;

image.AddProfile(ColorProfile.SRGB);
image.TransformColorSpace(ColorProfile.SRGB, ColorProfile ...