I need to save an Image as an 8bit GrayScale PNG file in VB.NET
To verify that the format is correct, the header information for the saved PNG file is:
byte 0x00: 0x89
byte 0x01: 0x50
byte 0x02: 0x4E
byte 0x18: 0x08 '8bit
byte 0x19: 0x00 'GrayScale
I can get 8 bit using PixelFormat.Format8bppIndexed, but this does not give me gray-scale.