Sub topic 11
Setting up common web and print sizes
This chapter assumes you already know how pixel dimensions, resolution (ppi), and document size relate, and that you can use the Image Size and Canvas Size dialogs. Here you apply that knowledge to real targets. You will work backward from a destination (a screen, a printer, a social platform) to the pixel dimensions and settings the file needs.
Start from the destination, not the file
Every setup task follows the same sequence:
- Identify where the image will be shown or printed.
- Find the pixel dimensions that destination needs.
- Decide whether the existing file needs downsampling, upsampling, or no resampling.
- Set the dimensions, then check the result.
The key idea is that screens and printers ask for different things. A screen cares only about pixel dimensions. A printer cares about pixel dimensions relative to the physical size, which is the effective resolution.
Web: pixel dimensions are everything
For web delivery, the ppi value stored in the file has no effect on how the image displays. A browser shows an image of 1200 x 800 px the same whether the file says 72 ppi or 300 ppi. Set the pixel dimensions and ignore the resolution field, except that 72 is a tidy convention.
Account for high-density displays
Modern phones and laptops have high-density (often called Retina or HiDPI) screens. A screen with a device pixel ratio of 2 packs two physical pixels into each CSS pixel in each direction. To stay sharp, an image shown at 600 CSS pixels wide should be 1200 px wide. A common practice is to export a 1x and a 2x version.
| Display slot (CSS px) | 1x file | 2x file |
|---|---|---|
| 600 x 400 | 600 x 400 | 1200 x 800 |
| 1200 x 630 (social preview) | 1200 x 630 | 2400 x 1260 |
| 320 x 320 (avatar) | 320 x 320 | 640 x 640 |
Platform requirements change over time, so check the current specification of the site or ad network before you build templates. The numbers above are typical starting points, not guarantees.
A web resize workflow
For a photo that must fit a 1200 px wide slot:
- Open Image > Image Size (Alt+Ctrl+I on Windows, Option+Cmd+I on macOS).
- Turn Resample on.
- Set the unit to Pixels and enter Width 1200. Keep the chain link (constrain proportions) on so the height follows.
- For a reduction, pick Bicubic Sharper (reduction). For an enlargement, pick Bicubic Smoother (enlargement) or Preserve Details 2.0.
- Check the new height. If the slot needs an exact aspect ratio, finish with the Crop tool rather than distorting the image.
Resample to the final size once, from the original. Resizing a 4000 px image to 2000, then to 1200, then to 1000 compounds interpolation softening. Keep the master file and generate each delivery size from it.
Print: work out the pixels you need
For print, use the formula from earlier chapters:
required pixels = inches x ppiTypical target resolutions:
| Output | Typical effective ppi |
|---|---|
| Photo print, magazine, fine art | 300 |
| Large poster viewed at arm's length | 150 to 200 |
| Billboard or banner viewed from far away | 20 to 100 |
The viewing distance drives the number. A billboard looks fine at low ppi because nobody stands close to it. Confirm the figure with your print provider, since they know their process.
Worked examples
| Print size | At 300 ppi | At 150 ppi |
|---|---|---|
| 4 x 6 in | 1200 x 1800 px | 600 x 900 px |
| 5 x 7 in | 1500 x 2100 px | 750 x 1050 px |
| 8 x 10 in | 2400 x 3000 px | 1200 x 1500 px |
| 11 x 14 in | 3300 x 4200 px | 1650 x 2100 px |
| A4 (8.27 x 11.69 in) | 2481 x 3507 px | 1241 x 1754 px |
The A4 values are rounded to whole pixels. Photoshop does the same rounding, so a dialog may show 2480 x 3508 depending on how the millimeter size is converted. Small differences of one or two pixels do not matter in print.
Check what you have before deciding
Suppose a camera file is 6000 x 4000 px and you want an 8 x 10 in print at 300 ppi. You need 2400 x 3000 px. The file has far more pixels than required, but the aspect ratios differ (3:2 versus 5:4). You must crop. Doing this in the right order avoids waste:
- Select the Crop tool and set the ratio to 4 x 5 (or W x H x Resolution with 8 in, 10 in, 300 ppi).
- Leave Delete Cropped Pixels off if you want to keep the option to reframe.
- Commit the crop. Photoshop resamples to 2400 x 3000 px if you entered a resolution in the crop fields, so verify the result in Image Size.
Here the Crop tool does both framing and sizing, which is why it often replaces a separate Image Size step.
When the file is too small
Suppose you have 1500 x 1000 px and need a 10 x 15 in print at 300 ppi. That needs 3000 x 4500 px. You have a third of the needed pixels in width. Your options:
- Accept lower effective resolution. With Resample off, set Width to 10 in. The resolution drops to 150 ppi in width, which may be acceptable for a poster. No pixels are invented.
- Upsample. Resample on, set 3000 x 2000 (or the required size), and use Preserve Details 2.0. Upsampling adds smoothness, not real detail. Large factors (beyond roughly 2x) usually look soft.
- Use a better source. A larger original beats any interpolation.
Setting up a new document
When you start from a blank canvas, create the document at its final size so you never need to resample.
For web or screen work
In File > New, choose a preset from the Web or Mobile tab, or enter pixel dimensions directly. Use RGB color mode, 8 bits per channel. Resolution can stay at 72. If the artwork will be shown on high-density screens, design at 2x the CSS size, or build with vector shapes and Smart Objects so you can scale later.
For print work
Choose the Print tab or enter inches or millimeters. Set resolution to 300 ppi, and pick the color mode your printer wants (often CMYK for press, RGB for many photo labs). Add bleed to the canvas. Bleed is extra artwork past the trim edge, commonly 0.125 in (3 mm), so that trimming does not leave white slivers.
Canvas Size handles bleed neatly when you already have a trimmed-size file:
- Open Image > Canvas Size.
- Tick Relative.
- Enter 0.25 in for Width and Height (0.125 in on each side).
- Set the anchor to the center.
- Choose an extension color, then paint or extend artwork into the bleed zone.
Remember that Canvas Size adds empty area. It does not stretch your artwork to fill the bleed, so you must extend the background yourself.
A script for a repeatable web set
When you need the same set of sizes often, a script saves time. This ExtendScript duplicates the active document, resizes each copy from the master, and leaves the master untouched. It resizes by width and keeps proportions.
// Photoshop ExtendScript (.jsx)
app.preferences.rulerUnits = Units.PIXELS;
var master = app.activeDocument;
var widths = [2400, 1200, 600];
for (var i = 0; i < widths.length; i++) {
var copy = master.duplicate("w" + widths[i], true); // merged copy
var w = widths[i];
var h = Math.round(copy.height.value * w / copy.width.value);
copy.resizeImage(UnitValue(w, "px"), UnitValue(h, "px"), 72, ResampleMethod.BICUBICSHARPER);
// Save or export here, then close the copy without saving changes.
copy.close(SaveOptions.DONOTSAVECHANGES);
}Note that this script closes each copy without saving, so add your export step before the close line. If the master is narrower than a listed width, the script would upsample, so in real use skip widths larger than the master.
Common mistakes
- Treating ppi as a web setting. Changing 72 to 300 with Resample off does nothing on screen.
- Resizing in several passes. Each resample softens the image. Resample once from the master.
- Forgetting the aspect ratio. An 8 x 10 in print from a 3:2 camera file needs a crop, not a squeeze.
- Upsampling to hit a number. The dialog can show 300 ppi without the file containing 300 ppi of real detail.
- Skipping bleed. Print jobs with no bleed risk white edges after trimming.
- Sharpening before resizing. Resize first, then sharpen for the output size.
Exercise
A client sends a 3600 x 2400 px photo. They want a 12 x 8 in print and a 900 px wide web version. What settings do you use for each, and what is the effective resolution of the print?
Show answer
For print, open Image Size with Resample off and set Width to 12 in. The resolution becomes 3600 / 12 = 300 ppi, with no pixels changed (the 3:2 ratio already matches 12 x 8). For web, work from the original with Resample on, set Width to 900 px with proportions constrained (height becomes 600 px), and use Bicubic Sharper (reduction). Keep the 3600 px file as the master.
Exercise
You need a 16 x 20 in poster at 150 ppi from a 2000 x 2500 px file. Does the file have enough pixels? What would you do about the color of the result if you add a 0.5 in bleed on every side using Canvas Size?
Show answer
The poster needs 16 x 150 = 2400 px wide and 20 x 150 = 3000 px tall. The file is 2000 x 2500 px, so it is short by 400 px in width. Without resampling, 2000 px over 16 in gives 125 ppi, which may be acceptable for a poster viewed from a distance, or you can upsample modestly (a 1.2x factor) with Preserve Details 2.0. For the bleed, tick Relative, enter 1 in for Width and Height (0.5 in per side), anchor at the center, and choose an extension color. The new area is filled with that color only, so you must extend the artwork into it yourself.