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
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