CMY(K) ImageStatistics

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
Lodger
Posts: 2
Joined: 2012-10-23T08:01:53-07:00
Authentication code: 67789

CMY(K) ImageStatistics

Post 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
Lodger
Posts: 2
Joined: 2012-10-23T08:01:53-07:00
Authentication code: 67789

Re: CMY(K) ImageStatistics

Post by Lodger »

Never mind, as usual I figured it out very soon after posting that message. Thanks anyway :)
Post Reply