HI ,
There is another barcode image verification failure . the image can not pass GS1 Canada Barcode verfication process. Below is the code and verification report.
The barcode fail due to edge determ failure and decode fail.
String GTIN1 = “(01)00766907146318(13)991012(10)12345678901234567890”;
float xdim=0.20f;
// Generate and save the image to file
BarCodeBuilder builder = new BarCodeBuilder();
// Set code text
builder.setCodeText(GTIN1);
// Set Symbology type
builder.setEncodeType(EncodeTypes.DATABAR_EXPANDED_STACKED);
builder.setAutoSize(true);
builder.setGraphicsUnit(GraphicsUnit.Millimeter);
builder.getCaptionBelow().setTextAlign(com.aspose.barcode.StringAlignment.NEAR);
builder.setResolution(
new Resolution(96f, 96f, ResolutionMode.Customized));
builder.setCodeTextSpace(0.5f);
builder.setRows(2);
builder.setxDimension(xdim);
builder.setBarHeight(14.2f);
try {
builder.save("c:\\temp\\" + "default" + ".png", BarCodeImageFormat.Png);
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}