Sub topic 5
Working in the Image Size dialog
This chapter assumes you can open, save, and export files in Photoshop, and that you know what a pixel is. You should also know that pixel dimensions, resolution, and document size are linked by the formula pixels = inches x ppi. Here you learn how the Image Size dialog exposes those three values, how its controls behave, and the mistakes people make most often.
Opening the dialog
Choose Image > Image Size. The shortcut is Alt+Ctrl+I on Windows and Option+Cmd+I on macOS. The dialog shows a preview on one side and the settings on the other.
The settings contain these items:
- Image Size: the file size the image would use in memory if it were uncompressed. It is a reference figure, not the size of the saved file.
- Dimensions: the pixel width and height. A menu lets you show these in other units.
- Fit To: a list of presets, such as common print sizes, plus Original Size and Auto Resolution.
- Width, Height, Resolution: the three values you edit.
- Resample: a checkbox with a menu of interpolation methods.
- Constrain Proportions: the chain-link icon between Width and Height.
The preview is useful. You can drag inside it to inspect a different area, and you can click it to see the original for comparison. This helps most when you reduce or enlarge an image and want to judge sharpness before you commit.
The three values and the one switch
Width, Height, and Resolution are tied by one equation. The Resample checkbox decides which quantity stays fixed when you edit one of them.
| Resample | What you edit | What stays fixed | What changes |
|---|---|---|---|
| Off | Resolution | Pixel dimensions | Document width and height in inches |
| Off | Width or Height in inches | Pixel dimensions | Resolution |
| On | Resolution | Document width and height | Pixel dimensions |
| On | Width or Height in any unit | Resolution | Pixel dimensions |
With Resample off, Photoshop never touches pixel data. The dialog only changes how the same pixels are labeled for printing. With Resample on, Photoshop builds a new pixel grid, so the image can lose detail or gain invented pixels.
Working with Resample off
Turn Resample off when you only want to change the print size of an image that already has enough pixels. A typical case is a file that arrives at 72 ppi and must go to a printer at 300 ppi.
Suppose the image is 3000 x 2000 px at 72 ppi. With Resample off, the dialog reports a width of about 41.67 in. Set Resolution to 300 ppi. The width changes to 10 in and the height to 6.67 in. The pixel dimensions are still 3000 x 2000. Nothing was resampled, so nothing was lost.
You can check the arithmetic with a short script. It is plain Python and runs as shown.
def print_size(px_w, px_h, ppi):
return px_w / ppi, px_h / ppi
def pixels_needed(in_w, in_h, ppi):
return round(in_w * ppi), round(in_h * ppi)
print(print_size(3000, 2000, 72)) # (41.666..., 27.777...)
print(print_size(3000, 2000, 300)) # (10.0, 6.666...)
print(pixels_needed(6, 4, 300)) # (1800, 1200)With Resample off, the Width and Height fields lose their pixel units. Photoshop only lets you edit values that can change without altering pixels, which is why the pixel option can disappear from the unit menus. If you need pixel units, turn Resample on.
Working with Resample on
Turn Resample on when you need a different number of pixels. You might need a 1500 px wide image for a web page or a 4000 px wide image for a larger print.
Take the same 3000 x 2000 px image. Set Width to 1500 px with the chain linked. Height becomes 1000 px and the image now holds a quarter of the pixels. Photoshop calculates each new pixel from its neighbors in the original, using the interpolation method you picked. Choosing a method is covered in a later chapter. For now, leave it on Automatic, which selects a method based on whether you are enlarging or reducing.
The Resolution field behaves differently depending on the unit you are editing:
- If you edit Width in pixels, Resolution does not change, so the print size shrinks along with the pixels.
- If you edit Width in inches while Resample is on, Resolution does not change either. Photoshop adds or removes pixels to reach the new inch value at the current ppi.
- If you edit Resolution with Resample on, the print width and height stay fixed. Photoshop adds pixels when you raise ppi and removes pixels when you lower it.
The last point surprises many users. Raising Resolution from 72 to 300 with Resample on does not relabel the image. It creates a file with about 17 times as many pixels (the pixel count scales with the square of 300/72), and the new pixels are interpolated guesses.
Constrain Proportions
The chain-link icon links Width and Height. When it is on, changing one changes the other so the aspect ratio stays the same. This is the right setting for almost every resize.
Turn it off only when you intend to distort the image, for example when you want to stretch a texture to fit a non-proportional space. With the link off, the image is squeezed or stretched, and the distortion cannot be undone cleanly after you save.
If you need a specific aspect ratio that differs from the original, do not break the link in Image Size. Use the Crop tool or Canvas Size to change the shape, and use Image Size afterward to set the final scale.
Fit To presets and Auto Resolution
The Fit To menu fills Width, Height, and Resolution from a preset. Presets make sense for common print sizes such as 4 x 6 in or 8 x 10 in. When you pick one, Photoshop treats it as a bounding box. The image is scaled to fit inside the box and keeps its proportions, so one dimension may be smaller than the preset.
Auto Resolution sets the resolution for a given screen frequency and quality (Draft, Good, or Best). It is meant for halftone printing workflows. Most web and photo work does not need it.
A worked example
You have a 4000 x 3000 px photo and a request for a 6 x 4 in print at 300 ppi. Walk through it in order.
- Calculate the pixels you need: 6 x 300 = 1800 and 4 x 300 = 1200.
- Notice that the photo has a 4:3 aspect ratio and the target is 3:2. The shapes differ, so a straight resize cannot hit both numbers.
- Crop first to a 3:2 ratio, which gives 4000 x 2667 px.
- Open Image Size. With Resample on, set Resolution to 300 ppi and set Width to 6 in. Height becomes 4 in and the pixel dimensions become 1800 x 1200.
- Because the source had more pixels than the target (4000 vs 1800), this is downsampling. You discard detail and the result stays sharp.
Now reverse the situation. If the photo were only 900 x 600 px, the same request would need Photoshop to invent 900 more pixels along the width. You would do better to print it smaller. At 300 ppi, 900 x 600 px gives a 3 x 2 in print without resampling.
Common errors
- Resampling when you meant to relabel. You change Resolution and the pixel dimensions change with it. Check that Resample is off before you edit Resolution for print.
- Reading file size as quality. The Image Size value at the top is an uncompressed estimate. A JPEG on disk is much smaller.
- Enlarging in several steps. Each resample compounds interpolation error. Make one resize from the original. If you must keep editing, convert the layer to a Smart Object first.
- Forgetting that Resample resets between uses. The checkbox and the method persist in the dialog only for the session in some versions. Look at the checkbox every time you open it.
- Breaking the proportion chain by accident. If the image looks stretched after a resize, undo and check the chain-link icon.
- Applying Image Size to a single layer. Image Size always acts on the whole document and every layer. To scale one layer, use Edit > Free Transform.
Checking your result
After you click OK, confirm the change two ways. Reopen the dialog and read the Dimensions and Resolution values. Then open Image > Image Size again, or check the title bar zoom level against 100%, to see the real pixel size. If the numbers match your calculation, the resize is correct.
Exercise
An image is 2400 x 1600 px at 300 ppi. With Resample off, you set Resolution to 150 ppi. What are the new pixel dimensions and the new print width? Then, with Resample on and the new 150 ppi setting kept, you set Width to 8 in. What are the pixel dimensions now?
Show answer
With Resample off, the pixel dimensions stay 2400 x 1600 px. The print width is 2400 / 150 = 16 in (and the height is 1600 / 150, about 10.67 in). With Resample on, Width 8 in at 150 ppi gives 8 x 150 = 1200 px wide. The height is 800 px, so the image is 1200 x 800 px. Photoshop removes pixels to get there.
Exercise
A client sends a 1200 x 800 px image and wants a 10 x 6.67 in print at 300 ppi. How many pixels does the print need, and what would you tell the client?
Show answer
The print needs 10 x 300 = 3000 px wide and 6.67 x 300 = 2000 px high. The file has only 1200 x 800 px, so Photoshop would have to invent more than 80% of the pixels (1.44 million of 6 million exist in the source, so 76% are new). The result would look soft. Either ask for a larger original, or print at a smaller size: 1200 / 300 = 4 in wide by 2.67 in high at full quality.