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.
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 inchesCalculate 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?
| Setting | What it does | Best when | Quality consequence |
|---|---|---|---|
| Auto / fit to image | Lets 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. |
| A4 | Fits 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 Letter | Fits 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:
- a 300-PPI RGBA PNG with transparency;
- an RGB PNG with no physical-density chunk;
- an indexed PNG with 96-PPI metadata and
tRNStransparency; - CRC validation and independent ImageMagick evidence;
- the exact Auto, A4, and Letter placement formulas used by the production converter.
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
- Inspect the inputs.
Check pixel dimensions, transparency, and effective A4 or Letter PPI. Do not infer print quality from filename or DPI metadata alone.
- Add all PNG files.
Use the local PNG-to-PDF converter; the images stay in browser memory rather than being uploaded.
- Put them in page order.
Each image becomes its own page. Reorder before conversion instead of rearranging the PDF afterward.
- Choose page size, orientation, and margins.
Use Auto for image-defined pages or A4/Letter when the receiving workflow requires fixed paper.
- 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
| Question | PNG to PDF | PDF 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 output | One multi-page PDF. | One PNG or a ZIP containing selected pages. |
Frequently asked questions
Does converting PNG to PDF reduce image quality?
What DPI should a PNG have before converting to PDF?
Why does Auto page size equal 72 PPI?
Can multiple PNG files become one PDF?
Does PNG transparency survive conversion to PDF?
Is PDF to PNG the exact reverse?
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.