Search found 1 match
- 2017-11-03T10:07:49-07:00
- Forum: Developers
- Topic: MagickCore WriteImage sometimes writes grayscale images as RGB files
- Replies: 0
- Views: 19930
MagickCore WriteImage sometimes writes grayscale images as RGB files
I'm using (ImageMagick 7.0.7-8 Q16 x64) MagickCore functions to write a buffer containing a 16 bpp grayscale image to file, e.g., PNG, BMP. This sometimes results in the file containing a 1-channel grayscale image and other times a 3-channel RGB image, but I'd like it to always result in a 1-channel ...