Sub topic 1
Cropping, resizing and canvas size: what each one changes
Photoshop has three operations that change the size of an image: cropping, resizing and changing the canvas size. They are easy to confuse because each one produces a document with different dimensions. They act on different things. One removes or adds area, one rescales content, and one changes the stage the content sits on. If you pick the wrong one, you can end up with blurry detail, unwanted borders, or pixels you cannot get back.
This chapter builds the working model that the rest of the tutorial relies on.
Prerequisites
This chapter assumes you can:
- Open and save images in Photoshop, and tell a layered PSD from a flattened JPEG.
- Find the toolbar, the options bar, the Image menu and the Layers panel.
- Explain what a layer is, and recognize the special Background layer.
- Read pixel dimensions and resolution (pixels per inch, or ppi) for an image.
The three things an image has
Every Photoshop document has three separate properties:
- Content. The pixels on each layer.
- Canvas. The rectangular boundary of the document. Only content inside the canvas is visible and exported.
- Resolution. A number in pixels per inch (ppi) that tells a printer how large to print the pixels. It does not change how many pixels exist.
Each operation targets one of these.
| Operation | What it changes | Pixel count | Image content scaled? | Typical menu or tool |
|---|---|---|---|---|
| Crop | Canvas boundary, shrunk around part of the content | Decreases | No | Crop tool (C), Image > Crop |
| Resize | Number of pixels in the whole image | Changes | Yes, everything scales together | Image > Image Size |
| Canvas size | Canvas boundary, grown or shrunk around the content | Changes | No | Image > Canvas Size |
| Trim | Canvas boundary, shrunk to remove uniform borders | Decreases | No | Image > Trim |
The key question to ask is: does the content move relative to the pixels, or does the frame move relative to the content? Cropping and canvas size move the frame. Resizing changes the content.
Cropping: moving the frame inward
Cropping keeps a chosen region and discards the rest. The kept pixels are not changed. A pixel that was at full sharpness before the crop is just as sharp afterward.
Because pixels are not rescaled, a crop changes the apparent size of a subject only when you look at the result at a fixed output size. Say you crop a 6000 × 4000 pixel photo to the central 3000 × 2000 pixels. The subject still occupies the same number of pixels, but it now fills the frame twice as much, so it looks like a zoom. You have lost resolution, because you have fewer pixels to work with.
Two entry points do a crop:
- The Crop tool (C). You drag handles or draw a new box, adjust the position and angle, then press Enter to commit. Its options bar controls aspect ratio, overlay guides, straightening and whether cropped pixels are deleted. Later chapters cover these in detail.
- Image > Crop. This crops to the current selection's bounding box. It is a one-step command with no handles to adjust.
A crop can also be non-destructive, which later chapters cover. Here, assume the default: pixels outside the box are gone once you commit.
What happens to resolution during a crop
A plain crop does not change ppi. A 6000 × 4000 px image at 300 ppi prints at 20 × 13.33 inches. After cropping to 3000 × 2000 px it is still 300 ppi, so it prints at 10 × 6.67 inches. The print size shrank because there are fewer pixels, not because anything was rescaled.
The Crop tool does have a way to change this. If you type width, height and resolution values into the options bar (the "W x H x Resolution" ratio mode), the crop is resampled to those exact values when you commit. Without those values, the Crop tool never resamples. The Aspect Ratios and Fixed Sizes chapter covers this mode.
Resizing: changing the pixel count
Image > Image Size (Ctrl+Alt+I on Windows, Cmd+Option+I on macOS) rescales the entire image. Nothing is cut away. The field of view stays the same, and the number of pixels changes.
The dialog has these controls:
- Width and Height. Pixel dimensions, or physical units if you switch the unit menu.
- Resolution. Pixels per inch.
- Constrain Proportions (the chain icon). When linked, changing width also changes height to keep the same shape.
- Resample. A checkbox plus a method menu.
The Resample checkbox decides everything
The Resample checkbox is the most important setting in the dialog. It has two modes with very different results.
- Resample on. Photoshop adds or removes pixels. Making an image smaller discards pixels. Making it larger invents new ones by interpolation, which means estimating new pixel values from neighboring ones. The pixel count changes.
- Resample off. The pixel count is locked. Changing width or height instead changes the resolution so the product stays the same. A 6000 px wide image set to 20 inches wide gives 300 ppi. Set it to 40 inches wide and it becomes 150 ppi. No pixels are touched.
With resampling on, the Resample menu offers methods such as Automatic, Preserve Details 2.0, Bicubic Smoother (suited to enlarging), Bicubic Sharper (suited to reducing), Bicubic, Bilinear and Nearest Neighbor. Automatic picks a sensible method for the direction of the change, and it is a good default.
Enlarging an image never recovers detail the camera did not capture. Interpolation produces smoother-looking pixels, not new information. This is why cropping deep into a photo and then enlarging it back to full size looks soft.
Crop versus resize for the same output size
Suppose you need a 3000 × 2000 px image from a 6000 × 4000 px original. You have two valid routes, and they give different pictures.
| Route | Steps | Result |
|---|---|---|
| Resize | Image Size, Resample on, width 3000 px | The whole scene, at half the detail per feature |
| Crop | Crop the central 3000 × 2000 px region | A tighter view, at full original sharpness per feature |
Use the first when you need the whole composition at a smaller file size, such as for the web. Use the second when the composition itself needs to change.
Canvas size: moving the frame in either direction
Image > Canvas Size (Ctrl+Alt+C on Windows, Cmd+Option+C on macOS) changes the boundary without scaling anything. Unlike the Crop tool, it can make the frame larger than the content.
Its controls are:
- Width and Height. The new canvas dimensions.
- Relative. When checked, the values you type are added to the current size instead of replacing it. Entering 100 px with Relative on makes the canvas 100 px larger in that direction.
- Anchor. A 3 × 3 grid that decides where the existing content sits within the new canvas. The center anchor adds or removes space equally on all sides. A top-left anchor keeps the top-left corner fixed and changes the right and bottom edges.
- Canvas extension color. The fill for new areas: Foreground, Background, White, Black, Gray or Other.
Where new canvas area gets its fill
What appears in the extended area depends on the layer type:
- On a Background layer, the new area is filled with the canvas extension color you chose. Photoshop may also ignore the setting when the document has no Background layer.
- On a regular layer, new canvas area is transparent. The extension color applies only to the Background layer.
This explains a common surprise. You extend the canvas of a layered file and see a transparent checkerboard where you expected a solid border. Add a new layer under your content and fill it yourself, or convert the Background layer first.
Shrinking the canvas
You can also make the canvas smaller. Photoshop warns that "the new canvas size is smaller than the current canvas size; some clipping will occur." In effect this is a crop with numeric inputs and an anchor instead of a visual box. Treat it as destructive and keep a copy of the file.
Trim: cropping by color or transparency
Image > Trim crops away borders that are a uniform color or are transparent. You choose what to base the trim on, either Transparent Pixels, Top Left Pixel Color or Bottom Right Pixel Color, and which edges to trim. It is useful for removing the empty margin around an exported graphic or a scanned item on a flat background. It decides the crop box for you from pixel values, so it is not suited to creative framing.
Checking the numbers
The relationship between pixel dimensions, resolution and print size is a simple division. This Python snippet shows it for the earlier example. It runs as written.
def print_size_inches(width_px, height_px, ppi):
"""Return the print size in inches for a given pixel size and resolution."""
return width_px / ppi, height_px / ppi
original = (6000, 4000)
ppi = 300
# Crop: pixel count falls, ppi stays the same, so the print size falls.
crop = (3000, 2000)
print("Crop:", print_size_inches(*crop, ppi))
# Resize with resampling: pixel count falls, ppi stays the same.
resized = (3000, 2000)
print("Resize:", print_size_inches(*resized, ppi))
# Resize without resampling: pixels stay the same, ppi changes.
new_ppi = 150
print("No resample at 150 ppi:", print_size_inches(*original, new_ppi))The first two lines print the same 10 × 6.67 inch size, because print size depends only on the final pixel count and ppi. They differ in content: one shows the cropped region and the other shows the whole scene. The last line prints 40 × 26.67 inches with no pixels changed.
Choosing between them
The flowchart below turns the three operations into a decision. Start from what you want the result to be.
Common mistakes
- Resizing when you meant to crop. The subject stays small in the frame. Cropping is the right tool when you want the subject to fill more of the picture.
- Cropping when you meant to resize. You lose part of the scene and keep full-size pixels. Check the pixel dimensions before and after.
- Leaving Resample on when you only wanted to change print size. Pixels are added or discarded without you noticing. Turn Resample off if you only want to change the physical size.
- Enlarging a small crop to hide a low pixel count. The result is soft. Plan the crop with the final pixel needs in mind.
- Extending the canvas on a layered file and expecting a colored border. Only the Background layer receives the extension color.
- Shrinking the canvas on your only copy. Clipped pixels may not come back. Work on a duplicate or a smart object.
Summary
Cropping and canvas size move the frame and leave the pixels alone. Resizing changes the pixels and leaves the framing alone. Resolution is a label that connects pixel count to print size, and it only changes pixels when resampling is on. Keeping these separate lets you choose the right tool for each task in the chapters that follow.
Exercise
A 6000 × 4000 px photo at 300 ppi needs to be 20 × 13.33 inches at 150 ppi for a poster viewed from a distance. You do not want to change the pixel count or the composition. Which operation do you use, and which setting matters most?
Show answer
Use Image > Image Size and turn the Resample checkbox off. Then set the width to 40 inches (or the resolution to 150 ppi, which gives the same result). With Resample off, the pixel count stays at 6000 × 4000 and only the ppi changes, so no detail is lost and the composition is untouched. Cropping would change the composition, and Canvas Size would add or remove space instead of changing the resolution.
Exercise
You extend the canvas of a layered PSD by 200 px on each side, using a white canvas extension color. The new border shows as a transparent checkerboard instead of white. Why, and how do you get a white border?
Show answer
The canvas extension color is applied only to a Background layer. The file has regular layers, so the new area is transparent. To get a white border, create a new layer below the other layers, fill it with white across the whole enlarged canvas, or convert the layer structure so a Background layer exists before extending the canvas.