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

New Post: Lock/Unlock bits emulation

$
0
0
There is no stride in ImageMagick and the BitsPerPixel depends on if you are using the Q8 or the Q16 version of Magick.NET The Q8 version is 8bits per channel and Q16 is 16bits per channel. And with the Channels property you can get the number of channels that the image contains. If you multiply them you can get the BitsPerPixel.

You might want to take a look at the FormatExpression method. You can find help about that here: http://www.imagemagick.org/script/escape.php. With some fx: calculation (http://www.imagemagick.org/script/fx.php) you can probably get the values that you want.

Viewing all articles
Browse latest Browse all 3693

Trending Articles



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