I'm generating QCodes with Erel's QRCode generator. Later I print these on a POS printer (via file). Here the images are distorted. In Xnview I've seen that the png files have up to 57 colours (though all used colours are black and white). After conversion (via XnView)to 1 Bit (pure bw) the POS printer prints like a charm.
Q: How do I save the png file as a "real" bw file?
QRView.SetBitmap(QR.Create(QRString)) Dim im As Image = QRView.Snapshot Dim Out As OutputStream = File.OpenOutput(File.DirApp, "qr.png",False) im.WriteToStream(Out) Out.Close:
QRView.SetBitmap(QR.Create(QRString))
Dim im As Image = QRView.Snapshot
Dim Out As OutputStream = File.OpenOutput(File.DirApp, "qr.png",False)
im.WriteToStream(Out)
Out.Close
Q: How do I save the png file as a "real" bw file?