Menu ▾ ▴

#1 QRCode decoding problem and fix

open
nobody
None
5
2009-07-04
2009-07-04
mao xuchu
No

)Try to decode QRCode ,it always tells "no barcode",and I changed one line in method "LoadAndStartDecoding" of "PageShoot.cs",it works well.
Global.DecodeThis(bitmap, false /*horizontal_only*/, true/*rotated*/);
Changed to:
Global.DecodeThis(bitmap, false /*horizontal_only*/, false/*rotated*/);
It seems set rotated to true leads some code in "LCDUIImageMonochromeBitmapSource" giving wrong values.

2)In "DecodedBitStreamParser.cs" ,this line
private const System.String ISO88591 = "ISO8859_1";
maybe should change to
private const System.String ISO88591 = "ISO-8859-1";
if not, I always get "not supported encoding error"

Discussion


Log in to post a comment.