Free Support Forum -

Barcode Reading issue

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..

PdfFileInfo oPdfInfo = new PdfFileInfo(oPdfDocStream);

PdfExtractor pdfExtractor = new PdfExtractor();


pdfExtractor.StartPage = 1;

pdfExtractor.EndPage = oPdfInfo.NumberofPages;


while (pdfExtractor.HasNextImage())


MemoryStream imageStream = new MemoryStream();


imageStream.Position = 0;

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

while (barcodeReader.Read())


IsBarCodeRecognized = true;

sEmpInfoOnBarCode = barcodeReader.GetCodeText();

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






Thank you for inquiry.

I am sorry but the barcode image is too blurry to be detected. Could you please increase the scan quality of the PDF to increase the chances of barcode detection?