Skip to content
UniKit

Read image DPI and print size

Batch-read JPEG APP0/JFIF density and PNG pHYs, convert them to DPI and derive print sizes in inches and centimetres.

Runs in your browserEvery computation happens in your browser — your data never leaves this device.

Images are parsed locally in your browser and never uploaded.

Pick images and the pixel size, DPI and print size appear right away.

Resolution and print size

Pick images and each one lists its pixel size, DPI and print size.

What this tool does

  • Check before print hand-off: when the spec says 300 DPI, read the JPEG APP0/JFIF density first and confirm the export pipeline did not change it.
  • Batch-inspect assets: select several images and get pixel size, DPI and the corresponding centimetre print size for each.
  • Spot files with no density: images showing "no density info" are usually screenshots or web exports and need a density written before printing.
  • Estimate print size: a 2000 × 1500 image at 300 DPI is roughly 16.9 × 12.7 cm, straight from the result.

Example

Input

A 20 × 10 JPEG with 300 × 300 DPI in APP0/JFIF

Output

photo.jpg: 20 × 10 px · 300 DPI · 0.07 × 0.03 in (0.17 × 0.08 cm) · APP0/JFIF

The print size is a real conversion: pixels ÷ DPI gives inches, times 2.54 gives centimetres; JPEG uses APP0/JFIF and PNG uses pHYs (pixels per metre ÷ 39.3701).

Frequently asked questions

What does "no density info" mean?

There is no segment or chunk carrying density: the JPEG has no APP0 with unit 2 or 3, or the PNG has no pHYs. The pixel size is still reported but the print size cannot be derived — write it first with the "Edit image DPI" tool.

Are DPI and pixel size the same thing?

No. The pixel size is the pixel matrix of the file, while DPI only declares how many pixels go into an inch when printing. Changing DPI does not touch the pixels, only the physical print size.

Does it support GIF / WebP?

No. GIF and WebP express density differently (and often not at all), so they are explicitly reported as unreadable instead of guessing a value.

Are images uploaded?

No. Segment and chunk parsing all runs in your browser; images never leave your machine.

Keywords:img_displaydpisimage dpiprint size

Related tools