We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Reg: 2d Barcode recognition

Hello,

Please find the attatched 2D Barcode which is generated with the following java code (Aspose.BarCode.jar 354KB)

BarCodeBuilder barCode = new BarCodeBuilder();
barCode.setAutoSize(true);
barCode.setSymbology(Symbology.PDF417);
barCode.setGraphicsUnit(GraphicsUnit.MILIMETER);
barCode.setCodeText((char)13+“H|23|123.3|213|E|||P”+Str+"|||||||213||1232321^K|19641009|F|859856296|2 23 312|23|PA|86689|6108553055|XI||123^^||P.O 658 123|CITY|AK|69898||3||321123^|||1528989752||25869|2 US 12||\nC|||||||||||||||||||||13|||N|||A|||5||2|||||||||||||||||||||||||||1312321312|2|2|V|R|12||||||||||||||||||||||||||||||||||||||||||");
barCode.setPDF417AspectRatio(0.25F);
barCode.setPDF417ErrorLevel(PDF417ErrorLevel.LEVEL4);
barCode.setBorderVisible(false);
barCode.setCodeTextVisible(false);
barCode.setXDimension(0.5f);
barCode.setYDimension(1.5f);
barCode.setMargins(new Margins(1,1,1,1));

Here we are not able read the same .Kindly assist us in this regard.



This message was posted using Email2Forum by ShL77. (attachment)

Hi,

Thanks for considering Aspose.

We found a problem in the above scenario. It happens when you set the aspect ratio by calling setPDF417AspectRatio() method. Without setting the aspect ratio, the recognition works fine.

I have logged it in our bug tracking system (ID: 11838) and informed the developers about it. We will notify you when it gets resolved. Sorry for the inconvenience.

The issues you have found earlier (filed as 11838 ) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.