- Issue created by @Anybody
- πΊπΈUnited States tr Cascadia
What are you trying to do? Control the size of the image? Make sure the image quality is good when printed?
The image size is completely controlled by the HTML markup. The barcode will appear with the same size relative to the page whether displayed on a screen or whether printed. DPI is not an issue.
If you want to make sure the image has enough pixels to be rendered with high quality when printed, well the answer is that it does. This is due to the nature of barcodes, where all the straight edges are either vertical or horizontal, and there are only two colors (black/white in most cases).
Bottom line, use the width and height options to control the number of pixels, and edit the template files if you want to display a barcode with a lot of pixels at a smaller size. "DPI" doesn't really have any relevance in this context.
- π©πͺGermany Anybody Porta Westfalica
Thanks @tr!
Make sure the image quality is good when printed?
Exactly.
Bottom line, use the width and height options to control the number of pixels, and edit the template files if you want to display a barcode with a lot of pixels at a smaller size. "DPI" doesn't really have any relevance in this context.
Thank you very much, I now solved it this way.
- π©πͺGermany Anybody Porta Westfalica
Some further background: β¨ Add a "Download" button below the generated code (optional setting) Active
Automatically closed - issue fixed for 2 weeks with no activity.