Barcode decoding failing

May 29, 2013 at 8:28 AM
Hi,

I am facing some issue while decoding barcode.

Am using Google Zing Barcode generator, and barcode got generated successfully.

But failing to decode on other online decoder websites..

Only am able to decode on http://zxing.org/w/decode.jspx.

Also downloaded Mobile Barcode Scanner from above link, but no output.

So am little confused, File attached for your reference.

Please look into the same.

Image

http://code.google.com/p/zxing/issues/detail?id=1695

SSN
Coordinator
Jun 1, 2013 at 9:29 PM
I can't see any problem here.
The qr code can be decoded with ZXing.Net.
If other scanners can not, feel free to ask them why.
Jun 4, 2013 at 9:42 PM
I posted same question on code.google.com.

https://code.google.com/p/zxing/issues/detail?id=1695

The reason for the problem given as "This is the equivalent of 4pt text -- so tiny as to be unreadable. Use larger module size."

Am using below code. Can you help me in improving the code and make the barcode readable.
var writer = new BarcodeWriter
{
    Format = BarcodeFormat.QR_CODE,
    Options = new EncodingOptions
    {
        Height = 100,
        Width = 100
    }
};

using (Bitmap objBitmap = writer.Write(_encryptData))
{

}
Thank you..
Coordinator
Jun 6, 2013 at 6:45 AM
Please try the following code. It should give a bigger version of the qr code.
var writer = new BarcodeWriter
{
    Format = BarcodeFormat.QR_CODE,
    Options = new EncodingOptions
    {
        Height = 400,
        Width = 400
    }
};

using (Bitmap objBitmap = writer.Write(_encryptData))
{

}
Btw. for QR codes there is a specialized options class QrCodeEncodingOptions which can be used instead of EncodingOptions.