Quantcast
Channel: magick Discussions Rss Feed
Viewing all articles
Browse latest Browse all 3693

New Post: Need the CMYK Values from a pixel...

$
0
0
Are you using the method MagickImage.GetReadOnlyPixels? When you get one of the Pixel instances you can access the individual channels. Your image has 5 channels which means you have a CMYKA image (cmyk image with an alpha channel.. Each letter represents one channel, C = 0, M = 1, etc... So if you want to get the Cyan (C) value of your pixel you should get the value of the first channel (index 0).

Maybe i should add some methods to convert a Pixel instance to a MagickColor instance...

Viewing all articles
Browse latest Browse all 3693

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>