Free Support Forum - aspose.com

Barcode Reading problem still there even after increase the scan quality

I have generated the barcode in pdf document using aspose and printed the barcode using the Dymo LabelWriter 330 Turbo.Then i scanned the barcode in the dymo label and saved it as a pdf document.Finally i tried to read the barcode in the pdf document,but it is not recognizing the barcode.Here is the sample code i used and attached the pdf document containing the barcode.The barcodereader.Read() method returns false..

i added the above content in the last post...but still the problem exist even after increase the scan quality of the scanner..i have attached 3 more pdf containing scanned barcode with different scan quality...

PdfFileInfo oPdfInfo = new PdfFileInfo(oPdfDocStream);

PdfExtractor pdfExtractor = new PdfExtractor();

pdfExtractor.BindPdf(oPdfDocStream);

pdfExtractor.StartPage = 1;

pdfExtractor.EndPage = oPdfInfo.NumberofPages;

pdfExtractor.ExtractImage();

while (pdfExtractor.HasNextImage())

{

MemoryStream imageStream = new MemoryStream();

pdfExtractor.GetNextImage(imageStream);

imageStream.Position = 0;

BarCodeReader barcodeReader = new BarCodeReader(imageStream, BarCodeReadType.Code39Standard);

while (barcodeReader.Read())

{

IsBarCodeRecognized = true;

sEmpInfoOnBarCode = barcodeReader.GetCodeText();

string SType = barcodeReader.GetReadType().ToString();

break;

}

barcodeReader.Close();

}

Hi,

I have sent these images to the development team for their analysis. I will update you as soon as I get any feedback. Sorry for the inconvenience.