I'm quite clueless when it comes to the intricacies of image manipulation so please bear with me. I'm trying to obtain the Image Statistic values for a flattened CMYK PSD image via Magick++ in a C++ application (it's actually a plug-in for a 3rd party application). Of course the ImageStatistics structure contains only RGB channels but I'm after the CMY(K) stats as I would get by running:
Code: Select all
identify -verbose ~/my_image.psd
Or a suitable conversion that would give me the results I'm after.
I'm by no means a maths genius and I'm at a loss as to where to go next, hence my post here.
Or if I'm barking up completely the wrong tree, I would be eternally grateful if someone could point me in the right direction.
Many thanks,
-L