Quantcast
Channel: magick Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 1011

Commented Unassigned: BitDepth and Statistics [1205]

$
0
0
Hi,
I have regular RGB images with 8 bits per channel (jpeg or png format, mapping sRGB) to read.
I use MagickImage Read function to read the image.
When I display Maximum value in MagickImageStatistics, I get values larger than the expected maximum 255 (8 bits), which should not occur.
I tried to specify BitDepth(8) for each channel, unsuccessfully.
I also used MagickSettings with no better result.
Any idea?
More generally, how can I specify the type of the container (let's say Image<Type>) at image declaration? Is it possible with Magick.net?
Thanks a lot
Comments: ** Comment from web user: dlemstra **

When you use the Q16 version of Magick.NET the value of the pixels will always range from 0 to 65535. This is by design. You can find some more information about the ImageMagick architecture here: http://www.imagemagick.org/script/architecture.php.

I don't understand what you mean by type of container. If you still want an answer to that question then please start a topic at https://magick.codeplex.com/discussions.


Viewing all articles
Browse latest Browse all 1011

Trending Articles



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