Page 1 of 1

Reducing CMY channels and keeping K channel

Posted: 2007-04-02T14:18:35-07:00
by harwoodr
Hey all,

I'm told for a specific barcode operation that I need to be able to spit out a black and white image where the black has no CMY channel components - how do I achieve this with PerlMagic?

I've tried using Fx to reduce the channels - but without success.

Re: Reducing CMY channels and keeping K channel

Posted: 2007-04-02T19:09:34-07:00
by anthony
Who told you, and what are you requirements. A black and white image is not specific to CMYK. There are lots of ways to convert an image to a two color black and white image.

You have greyed image threshold, dithered monocrome, two color quantization (dithered or un-dithered) or user supplied color reduction. Just to name a few.

Most of these are exampled in IM Examples, Quantization and Dithering, and can be translated to PerlMagick relativally easilly.