Evidence-backed conversion guide

PNG to PDF without losing quality: pixels, DPI, and page size

The safest rule is to preserve the PNG’s pixel dimensions and choose the PDF placement size deliberately. “DPI” metadata alone does not create detail. Effective PPI equals image pixels divided by the final placed inches, so A4, Letter, Auto sizing, and margins can change print resolution without changing a single pixel.

Published July 11, 2026Based on public fixturesMaintained by Michael Joiner
Short answer

Use PNG to PDF to place one or more images into a document. Choose Auto when the image itself should define the page; choose A4 or Letter only when you need fixed paper. Before printing, check the final placement with the PNG print-readiness checker or the PDF effective image PPI checker.

What “without losing quality” can and cannot mean

Pixel dimensions

A 2400 × 3000 PNG should remain 2400 × 3000 pixels inside the PDF unless the converter deliberately resamples it.

Effective PPI

The same 2400 pixels become 300 PPI at 8 inches wide, but only 150 PPI at 16 inches wide. Placement controls this value.

Exact source bytes

A converter may decode and re-encode a PNG. The visible pixels can remain lossless while original chunks, bit depth, profile, or byte-for-byte identity change.

PNG is a lossless raster format under the W3C PNG specification. That does not mean every conversion preserves every part of the PNG datastream. Pixel content, physical-size metadata, color information, text metadata, and the original compressed bytes are separate things.

The one formula that matters

effective PPI = image pixels ÷ placed size in inches

Calculate horizontal and vertical values separately and use the lower one when comparing with a requirement. PDF default user space is normally 72 units per inch, as defined by PDF 32000-1. A placement 360 points wide is therefore 5 inches wide.

Example: a 1500 × 2100 pixel image placed 5 × 7 inches is 300 PPI in both directions. Put the same image on a larger page without adding pixels and its effective PPI falls.

Auto vs A4 vs Letter: which page size should you choose?

SettingWhat it doesBest whenQuality consequence
Auto / fit to imageLets each image determine its PDF page dimensions. In GoPDFConverter, one pixel maps to one PDF point.You want no fixed paper size or mixed image dimensions.The placement is 72 PPI, regardless of a source pHYs label. Pixel dimensions remain exact.
A4Fits the image proportionally inside a 210 × 297 mm page after margins.International office documents, assignments, and print workflows that require A4.Effective PPI depends on pixels, orientation, and available area after margins.
US LetterFits the image proportionally inside an 8.5 × 11 inch page after margins.North American office, school, and filing workflows.Effective PPI depends on pixels, orientation, and margins—not the source DPI label.

Margins shrink the placed image, which increases effective PPI but also creates more white space. Orientation can let the image use more of the page. The optimal choice is a document-layout decision, not a universal quality setting.

What happens to transparency, metadata, and color?

The PNG specification supports full alpha channels and palette transparency through tRNS. A PDF can represent transparency with a soft mask, but preservation depends on the conversion path. GoPDFConverter’s current production path decodes each PNG in the browser, encodes new PNG image data, and embeds it with PDF-LIB. The validated transparent fixtures retain supported alpha or palette transparency.

That same path does not copy the original PNG’s text, eXIf, pHYs, or ICC chunks as source chunks into the PDF. Pixel width and height are retained; original metadata and byte identity are not. Browser canvas color conversion can also normalize color behavior, so a demanding color-managed print workflow should use a dedicated prepress system and proof the output.

Measured evidence, not a generic quality promise

The public PNG DPI and PDF print-readiness dataset includes:

The broader browser PDF tools benchmark also validates that the transparent PNG fixture produces one valid PDF page and displays transparency correctly. Both resources publish downloadable inputs and machine-readable evidence so another tool can reproduce the checks.

How to convert multiple PNGs into one PDF

  1. Inspect the inputs.

    Check pixel dimensions, transparency, and effective A4 or Letter PPI. Do not infer print quality from filename or DPI metadata alone.

  2. Add all PNG files.

    Use the local PNG-to-PDF converter; the images stay in browser memory rather than being uploaded.

  3. Put them in page order.

    Each image becomes its own page. Reorder before conversion instead of rearranging the PDF afterward.

  4. Choose page size, orientation, and margins.

    Use Auto for image-defined pages or A4/Letter when the receiving workflow requires fixed paper.

  5. Verify the PDF.

    Check page boxes with the page-size checker and placed raster resolution with the effective image PPI checker.

PNG to PDF vs PDF to PNG

QuestionPNG to PDFPDF to PNG
What is transformed?Raster images are placed onto PDF pages.Complete PDF pages are rasterized into image files.
What controls resolution?Source pixels and placed physical size.PDF page size and chosen render DPI.
Are original PNG bytes recovered?The input may be decoded and re-encoded.No; this renders the whole page rather than extracting original image streams.
Typical outputOne multi-page PDF.One PNG or a ZIP containing selected pages.

Frequently asked questions

Does converting PNG to PDF reduce image quality?
It does not have to reduce pixel dimensions, but scaling the same pixels onto a larger PDF page lowers effective PPI. A conversion can also re-encode pixels and omit original metadata or profile chunks even when width, height, and supported transparency are retained.
What DPI should a PNG have before converting to PDF?
Use effective PPI at the final placement instead of trusting a label. Divide pixels by placed inches and compare the lower horizontal or vertical result with the receiving printer’s requirement.
Why does Auto page size equal 72 PPI?
GoPDFConverter maps one pixel to one PDF point in Auto mode. Since default PDF user space uses 72 points per inch, the physical placement is 72 pixels per inch regardless of the source pHYs value.
Can multiple PNG files become one PDF?
Yes. Add multiple images, drag them into order, and convert. Each PNG becomes a separate PDF page with the selected size, orientation, and margins.
Does PNG transparency survive conversion to PDF?
Supported alpha and palette transparency can be represented as a PDF soft mask. GoPDFConverter retains it in the published fixtures, but other converters may flatten transparent pixels onto white or another background.
Is PDF to PNG the exact reverse?
No. PDF to PNG rasterizes the complete PDF page—including vectors and text—at a chosen DPI. It does not extract or recreate the original PNG datastream.

Use the right next step

Convert PNG to PDF

Combine one or multiple PNG files locally with Auto, A4, or Letter pages and adjustable margins.

Check the source PNG

Inspect real pixels, pHYs density, transparency, metadata, CRC integrity, and placement PPI.

Check the resulting PDF

Measure each embedded raster at its actual physical placement and export the evidence.

Convert PDF pages to PNG

Go in the other direction: render selected pages at up to 300 DPI with no signup or upload.