Aztek_binary.png (2.1 KB)
1015865824_QRCODE.png (2.1 KB)
Code used:
using (PngImage png2 = Aspose.Imaging.Image.Load(ms) as PngImage)
{
PngOptions options1 = new PngOptions();
options1.ColorType = PngColorType.Grayscale;
//options.CompressionLevel = 0;
options1.BitDepth = 1;
options1.BitDepth = 8;
png2.Save(qrDestinationFilePath, options1);
}
When I use the color-pipete-tool the white parts of the image are #FCFCFC (light-gray) insted of #FFFFFF (white)