Search found 1 match

by Flauzer
2016-03-25T14:20:53-07:00
Forum: Magick.NET
Topic: wrong Depth with png format
Replies: 1
Views: 10156

wrong Depth with png format

Hi,
I can't convert a jpg image to png, grayscale and 8 bit depth.



// read from disk...

image.Format = MagickFormat.Png;
...
image.ColorType = ColorType.Grayscale;
image.Depth = 8;
image.Write(FullPathFile);

The result is always 24 bit depth...
I've lost something? where is my mistake? bug ...