
Although our barcode images do not have any interpolation data, it appears that iOS/Mac viewer is trying to interpolate the barcode images causing them to be blurry. However, it appears that the PDF viewer of iOS/Mac is unable to render such 1-bit barcode images correctly.

Our product adds barcodes as 1-bit images which is one of the efficient ways available to add barcode images to a PDF. It is possible that other products you have tested with are adding barcodes to the PDF in some other way and iOS/Mac do not have issues rendering such barcodes. There are several valid ways to add the barcodes to a PDF and different products choose to add barcodes using different techniques. Our development team looked into this issue and determine that it not an issue with our product and that our product is adding the barcodes and generating the PDF as per the PDF specification.

Will really appreciate your input on this one. If you need any further information please let us know. Hope the above provide enough info to look into this further. If you paste any SVG snippet to create barcodes and then convert that HTML to PDF, the document created also rendering fine without any blury issues. We tried another third party component that can convert HTML to PDF, there is an online demo provided at the URL below. Printing a page (containing barcode) as PDF from Chrome doesn’t have blurry issues when viewed in Mac. Happy to provide the generated PDF if this will be of any help. If there is alternate way to work around this issue, please advise.ĭynamicPDF.Document objPdfDocument = New DynamicPDF.Documentĭim objPdfPage As New DynamicPDF.Page(objPdfPageSize, objPdfPageOrientation, sngPageMargins)īarcode = New (barcodeValue, barcodeXPos, barcodeYPos, barcodeHeight)īarcodeElement = New 39(barcodeValue, barcodeXPos, barcodeYPos, barcodeHeight, barcodeWidthRatio)ĭim objPdfImage As New (myBitmap, sngImageXPos, sngImageYPos, 1) We also tried creating the barcode image manually and then adding it as an image element to the page which didnt work either. Below is some sample code on how we are generating the barcode/qr code item.
