C# Why Bitmap.Save ignores PixelFormat of Bitmap?

后端 未结 4 539
北恋
北恋 2021-01-13 19:24

I need to process and save images in their original bpp (1 - for BnW, 8 - for gray, 24 - color). After processing I always have 24bpp (due to processing with Aforge.Net). I

4条回答
  •  南笙
    南笙 (楼主)
    2021-01-13 20:10

    If you're looking for a true 8-bit grayscale bitmap image then I made a detailed StackOverflow post about it. It will work on any operating system (Windows/Mac/Linux), not just Windows 7. I hope it helps.

提交回复
热议问题