Hi,
I am using the demo version of the barcode dll to generate a datamatrix barcode in an asp.net page. I have set up the page successfully and can generate datamatrix png images just fine.
However, I am having trouble when trying to import the generated png into a PDF for printing - the barcode quality is degraded significantly. I think it is because the generated barcode is 72DPI, but the PDF is 300DPI - but I am not sure. Is there a way to ensure that a barcode will appear cleanly in a PDF when importing from an aspx page?
Thanks,
Mike
Importing ASP.Net barcode into PDF
Moderator: Alex
Re: Importing ASP.Net barcode into PDF
Hello Mike,
VintaSoftBarcode.NET Library generates images without resolution. The size of the image depends from the BarocodeWriter.Settings.MinWidth property. You should specify necessary to you value of the MinWidth property, generate image with barcode and change resolution of the image to 300 dpi.
We will add ability to specify resolution in BarcodeWriter in next version of library.
Best regards, Alexander
VintaSoftBarcode.NET Library generates images without resolution. The size of the image depends from the BarocodeWriter.Settings.MinWidth property. You should specify necessary to you value of the MinWidth property, generate image with barcode and change resolution of the image to 300 dpi.
We will add ability to specify resolution in BarcodeWriter in next version of library.
Best regards, Alexander
Re: Importing ASP.Net barcode into PDF
Thanks! The ability to specify DPI will be very helpful.