Image inspection guides

Compare JPEG and PNG density before saving a copy

·

Two files of the same pixel dimensions can carry different print densities. Read the density fields first so you can change the stored print scale without resampling the image.

Image DPI Checker

Read the two recorded densities in a JPEG

Select Load conflicting JPEG example. The image is 3 × 2 pixels. Under Original density, JFIF APP0 shows 72 × 96 DPI and EXIF APP1 shows 150 × 180 DPI. The report flags their disagreement.

Choose 300 DPI and select Apply DPI. Updated density shows 300 × 300 DPI for both sources. Download the copy and reopen it in the checker to verify the stored values.

JPEG File Interchange Format version 1.02CIPA Exif 3.1 specification and standards listing

Check the integer density stored in a PNG

Select Load PNG example. The pHYs values are 3,780 × 5,669 pixels per metre. The checker converts those to 96.012 × 143.9926 DPI.

Apply 300 DPI. The copy stores 11,811 pixels per metre on both axes, which displays as 299.9994 DPI. PNG records an integer number of pixels per metre, so nearby DPI requests may map to the same stored value.

W3C PNG physical pixel dimensions chunk

Compare the exported copy with the source

Download the changed image and compare it with the original. Both sample files keep their 3 × 2 pixel dimensions. JPEG edits retain the scan bytes and PNG edits retain the IDAT chunks.

A pHYs value with unit zero gives a pixel aspect ratio. A malformed density segment can block the change. Check the reported source and its units before preparing a print copy.

JPEG File Interchange Format version 1.02W3C PNG physical pixel dimensions chunk

Common questions

Can I change an image to a custom density?

Yes. Enter a whole number from 1 to 9,999. Apply DPI updates both supported axes to the requested value.

Can a file have an aspect ratio without physical DPI?

Yes. A unitless density source gives the ratio of the two axes. Physical print density requires a declared unit such as inches or metres.

Sources

Put it into practice.

Related guides