Sub topic 9
Effective resolution: checking images at their placed size
This chapter assumes you know what ppi means, can place an image in a layout application, and understand trim size and bleed from earlier chapters. It covers how to check whether a placed image has enough pixels for print.
Why the file's resolution is not the answer
An image file stores a pixel count. The ppi (pixels per inch) value in its metadata is only a suggestion. What matters is how many pixels land on each inch of paper once the image is placed and scaled in the layout. That number is the effective resolution.
The formula is:
effective ppi = pixels ÷ placed length in inches
Enlarging an image spreads the same pixels over a longer distance, so the effective ppi drops. Shrinking it raises the effective ppi.
def effective_ppi(pixels, placed_length_inches):
"""Effective resolution of an image once it is scaled in the layout."""
return pixels / placed_length_inches
# A 1800 px wide photo placed 6 inches wide
print(effective_ppi(1800, 6)) # 300.0
# The same photo enlarged to 9 inches wide
print(effective_ppi(1800, 9)) # 200.0Checking an image step by step
- Find the image's pixel width in its file properties.
- Read the placed width in the layout, converted to inches.
- Divide pixels by inches.
- Compare the result with the target for the job.
Use the same check on the height. If you scaled the image non-proportionally, the two values will differ, and you should fix the distortion first.
What counts as too low
Commercial printing usually targets about 300 ppi for images viewed at arm's length. The table shows common working ranges. Treat them as rules of thumb and confirm with your printer.
| Effective ppi | Typical result | Action |
|---|---|---|
| 300 or more | Sharp detail | Accept |
| 200 to 299 | Usually acceptable for photos, soft on fine detail | Check at 100% zoom, consider a better source |
| Below 200 | Visible softness or pixel blocks | Replace the image or reduce its size |
Large-format work is judged differently because viewers stand farther away. A later chapter covers that.
A common mistake: images that reach into the bleed
A full-bleed photo must cover the trim size plus bleed, not just the trim size. If you stretch an image to fill the bleed area, the effective ppi falls. Always check resolution against the final placed size, bleed included.
For an A4 page with 3 mm bleed, the document is 216 × 303 mm. At 300 ppi the image needs 2552 × 3579 pixels.
import math
MM_PER_INCH = 25.4
def document_size_with_bleed(trim_w_mm, trim_h_mm, bleed_mm=3):
"""Return the full document size including bleed on all four sides."""
return trim_w_mm + 2 * bleed_mm, trim_h_mm + 2 * bleed_mm
def pixels_needed(size_mm, ppi=300):
"""Pixels needed to cover a length in millimeters at the given ppi."""
return math.ceil(size_mm / MM_PER_INCH * ppi)
w_mm, h_mm = document_size_with_bleed(210, 297, bleed_mm=3) # A4 with 3 mm bleed
print(w_mm, h_mm) # 216 303
print(pixels_needed(w_mm), pixels_needed(h_mm)) # 2552 3579Fixing a low-resolution image
- Use a larger original from the photographer, stock site, or camera.
- Place the image smaller, if the design allows it.
- Replace photos with vector artwork when the subject is a logo or line art. Vector shapes have no fixed pixel count.
- Avoid upsampling (adding pixels by software) as a fix. It makes the file larger but does not recover detail.
Most layout applications show effective ppi in a links or info panel, so you rarely need to compute it by hand. Knowing the formula helps you judge the number and plan image sizes before you start.
Exercise
A photo is 2400 pixels wide. You place it 10 inches wide in a layout. What is its effective ppi, and is it adequate for a 300 ppi target? If not, what is the widest it could be placed and still reach 300 ppi?
Show answer
The effective ppi is 2400 ÷ 10 = 240, which is below the 300 ppi target. To reach 300 ppi, the widest placement is 2400 ÷ 300 = 8 inches.
Exercise
A poster needs a full-bleed background. The trim width is 8.5 inches, the bleed is 0.125 inches per side, and the target is 300 ppi. How many pixels wide must the image be?
Show answer
The width including bleed is 8.5 + 2 × 0.125 = 8.75 inches. At 300 ppi that is 8.75 × 300 = 2625 pixels wide.