Page 1 of 1

CMY(K) ImageStatistics

Posted: 2012-10-23T08:11:08-07:00
by Lodger
Hello all,

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
(where my_image.psd is CMY(K) )

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

Re: CMY(K) ImageStatistics

Posted: 2012-10-24T06:14:33-07:00
by Lodger
Never mind, as usual I figured it out very soon after posting that message. Thanks anyway :)