Quick answer
The pixels are the fixed evidence. Effective print PPI equals pixels divided by placed inches. A 2,550-pixel-wide PNG is 300 PPI at 8.5 inches but only 150 PPI at 17 inches, whether its metadata says 72, 96, 300, or nothing. This checker reports the embedded pHYs value and the actual PDF placement result separately.
No image upload
Check PNG print readiness
Ready. Choose PNG files to inspect their pixels, metadata, and print placement.
| PNG file | Pixels | Structure | Density, color & metadata | PDF placement | Maximum size |
|---|
Interpretation: The 300/200/150 PPI bands are practical comparison labels, not universal pass/fail standards. Viewing distance, source content, printer, submission rules, and whether the image contains small text all matter.
Three values that are often confused
Pixel dimensions
The exact width and height stored in IHDR, such as 2550 × 3300 pixels. These determine how much raster detail exists.
Embedded density
The optional pHYs chunk stores pixels per unit. When the unit is metres, multiplying by 0.0254 converts it to pixels per inch. Missing density does not create or remove pixels.
Effective print PPI
The image pixels divided by its placed size in inches. This is the useful number after an A4 or Letter page, margins, orientation, and fit scaling have been chosen.
The W3C PNG specification’s pHYs section says the chunk expresses intended pixel size or aspect ratio. Unit 1 means metres; unit 0 supplies only an aspect ratio. If pHYs is absent, physical pixel size is unspecified.
What GoPDFConverter’s PNG-to-PDF conversion actually does
| Stage | Production behavior | Practical consequence |
|---|---|---|
| Decode | The browser decodes the selected PNG to a canvas at its declared pixel dimensions. | The converter handles supported PNG color types and transparency through the browser image decoder. |
| Re-encode | The canvas is encoded as new lossless PNG image data before PDF embedding. | Pixel dimensions and supported alpha survive; original pHYs, PNG text, eXIf, and source ICC chunks are not copied as original PNG chunks. |
| A4 or Letter | The image is scaled proportionally to fit inside the page after the selected point margin. | Effective PPI depends on the final placed width and height, not on the original density label. |
| Auto page | One image pixel is mapped to one PDF point, plus the selected margin. | Because PDF default user space is 72 points per inch, the image placement is 72 PPI. The page can be physically large for high-pixel-count images. |
This is more precise than saying the source PNG is “embedded directly.” The conversion is lossless at the PNG encoding stage, but it is a decode-and-re-encode pipeline. See the published testing method and the PDF 1.7 specification for the 72-point default user-space convention.
Transparency, color, and privacy signals
Truecolor or grayscale PNGs can carry a full alpha channel; palette, grayscale, and RGB images can instead use a tRNS transparency chunk. The checker reports these separately. It also reports iCCP, sRGB, gAMA, and cHRM presence without pretending that a chunk name proves calibrated output. The W3C color-space sections define their precedence and roles.
PNG can contain textual tEXt, zTXt, and iTXt chunks, plus an eXIf profile. This checker lists text keywords and flags eXIf presence without displaying potentially sensitive values. The PNG text specification explicitly includes fields such as Author, Description, Creation Time, Software, and Comment.
Reproducible PNG stress fixtures
The dataset covers three distinct cases: a 1200 × 900 RGBA image with 300 PPI pHYs, sRGB/gamma, and a text chunk; an 800 × 600 RGB image with no physical density; and a 384 × 288 indexed image with tRNS transparency and 96 PPI density. Every file has a published SHA-256 and is independently summarized by ImageMagick identify.
300 PPI RGBA fixture · RGB without density · 96 PPI indexed transparency · Expected results and SHA-256 · ImageMagick evidence
How the checker works
- Verify the eight-byte PNG signature. A filename or MIME label alone is not accepted as proof.
- Walk the chunk stream. The checker reads each declared length and type, then rejects chunks that run beyond the file.
- Recalculate every CRC. PNG uses a cyclic redundancy check to detect damaged chunk type/data bytes; the W3C specification includes the algorithm.
- Parse evidence without decoding pixels. IHDR, pHYs, transparency, profile, text, eXIf, and animation signals are read directly from the datastream.
- Apply production placement math. A4/Letter points, orientation, and margins match the current PNG-to-PDF pipeline. Effective PPI is pixels divided by placed inches.
- Keep the evidence portable. CSV is concise; JSON preserves the chunk inventory, CRC results, metadata flags, and exact placement values.
Limitations and assumptions
This is a structural preflight, not a color-managed raster renderer. It does not decompress IDAT pixels or ICC profiles, judge visible sharpness, validate every PNG chunk-order rule, or certify a print provider’s requirements. A valid CRC only shows that stored chunk type/data match the stored check value; it does not prove the image content is trustworthy or visually correct.
Animated PNG is flagged because a static PNG-to-PDF workflow may use only a decoded frame. Text values and eXIf contents are deliberately not displayed. Large files still consume local memory. The browser image decoder and PDF viewer remain part of the final conversion path, so representative output should be visually checked before a consequential print run.
Frequently asked questions
Does a PNG have a DPI value?
Is PNG DPI the same as print quality?
Does converting PNG to PDF remove metadata?
Why does Auto show 72 PPI?
Use the result
Convert PNG to PDF
Apply the same A4, Letter, auto-page, orientation, and margin choices modeled by this checker.
PNG-to-PDF quality guide
Understand how pixels, final placement, margins, transparency, metadata, and color behavior affect the result.
Check image PPI inside a PDF
Measure every supported raster placement at its actual physical size, including reuse of one image at different sizes.
Check the output PDF page
Verify exact page dimensions, MediaBox, CropBox, TrimBox, rotation, and mixed page sizes.
PDF-to-PNG DPI calculator
Run the inverse calculation: PDF page dimensions to output raster pixels and memory.
HEIC compatibility lab
See measured orientation, alpha, wide-gamut, metadata, and decoder behavior for HEIC inputs.