Magick++ Convert JPEG from CMYK to RGB Colorspace

1.7k views Asked by At

I use the ImageMagick Magick++ API to work with images in my C++ program. It reads images out of PDF files. There are some Images that have a CMYK colorspace. How can I convert such images to RGB correctly?

1

There are 1 answers

1
Van Coding On BEST ANSWER

I solved it now. I used the image->channel(AllChannels) method. The colors are not exactly the same as before, but it is usable.