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?
I solved it now. I used the image->channel(AllChannels)
method. The colors are not exactly the same as before, but it is usable.