Skip to content
UDImakerOpen editor

SVG vs PNG vs PDF for Barcode Label Printing

Choose a barcode export format with clear examples of vector SVG, raster PNG, and UDImaker PDF output at physical label dimensions.

Choose the export format according to the next step in your print workflow. SVG preserves vector artwork, PNG stores pixels, and a PDF can contain either vector or raster content. A PDF filename alone does not tell you which kind of artwork it holds.

What UDImaker exports

  • SVG: scalable vector artwork for the label, with any imported raster images remaining raster.
  • PNG: a raster rendering of the label at the export's 300 DPI target.
  • PDF: a physical-size page containing a 300 DPI raster image of the label. It is not a vector PDF.
  • JPEG: another raster option, with lossy compression that may be undesirable around fine barcode edges.

Downloads require a verified account. Choose the complete-label export when you need the surrounding text and artwork, rather than only an isolated barcode.

Calculate the pixel dimensions

For a raster export, use:

pixels = millimeters × DPI / 25.4

An 80 × 40 mm label at 300 DPI is approximately 945 × 472 pixels, allowing for rounding. Stretching those pixels to twice the physical width reduces the effective detail per inch. Changing a file's stated DPI without adding real image detail does not reconstruct its edges.

The PDF export uses the selected millimeter page dimensions. Your printer driver can still rescale that page, so matching the file size alone is not enough.

Choose a format by task

For further layout in software that supports SVG, start with the SVG and preserve its physical dimensions. Confirm that the receiving software handles fonts and imported images as expected.

For printing a single label through a PDF viewer, use the physical-size PDF, select matching stock, and print at Actual size / 100%. Check the preview for an unexpected A4 or Letter page and clipping.

For placing a barcode image into another document, PNG can be convenient if its pixel dimensions are sufficient for the final printed size. Avoid repeated screenshots, resizing, and JPEG recompression.

Check the file and the paper separately

Decode the exported image with the barcode reader. Then print one label on the intended printer and material. Measure it, inspect the quiet zone, and test the actual scanner.

If the source decodes but the paper fails, investigate scaling, device resolution, darkness, media, and placement. See the module-size and DPI guide.

Keep the editable design alongside the chosen export. Reopen the design to change its data; enlarging an old raster file is not a substitute for generating a new source. The actual-size print guide provides the next checks when a label's measured dimensions are wrong.

Sources and technical review

Relevant primary references are listed below. These guides explain the design workflow; confirm current sector requirements and local regulations before production use.