← Home | Tutorials
中文 English
🔒 100% Local Browser Processing · Zero Uploads · Zero Privacy Risk

Resize vs Canvas Size vs Trim: Pick the Right One

By Web PSEditor • Difficulty: Beginner • 8 min read • Updated: 13 Nov 2026
Same three clicks, three very different results
Image → Resize changes pixels, Canvas Size adds space, Trim strips uniform borders.
Open Web PSEditor & Try It →

Three items sit next to each other under the Image menu and all of them sound like "make the picture a different size". They do three unrelated things, and choosing the wrong one is how people lose sharpness or lose the edges of a photo.

Short version: Resize resamples every pixel to a new count, Canvas Size keeps the pixels and changes the sheet they sit on, Trim deletes the uniform margin around the content. The rest of this page is when to use which.

Web PSEditor Image menu with Canvas Size, Trim, Resize and Flip
Canvas Size, Trim and Resize sit within three rows of each other under Image. They are not variations of the same command.

The One-Line Difference

Menu itemWhat changesPixel countUse it when
Image → ResizeWidth, height, and every pixel insideChangesThe file must be 1200 px wide, or under a KB limit
Image → Canvas SizeThe sheet behind the pictureStays the sameYou need a square, a wider banner, or extra margin
Image → TrimRemoves surrounding uniform colourDropsA scan or screenshot has a fat white border

Resize: When the Destination Counts Pixels

Image → Resize is the only one of the three that rebuilds the image at a new resolution. You can type Width and Height in pixels, or use Width (%) and Height (%) — pick one pair, not both. The dialog has three settings worth knowing:

Mode: Lanczos, Hermite, Basic

Lanczos is the slowest and keeps the most detail when shrinking. Hermite is a middle ground. Basic is nearest-neighbour — fast, and it turns diagonal edges into visible stair-steps. For downscaling a photo, Lanczos. For pixel art you want to keep crisp, Basic is actually correct.

Sharpen: a checkbox, not a slider

Tick it and the resize applies a light unsharp pass afterwards. Downscaling always softens an image slightly, so this restores apparent crispness. It is also easy to overdo on an already-sharp graphic — check at 100% zoom, not in the fitted view.

Layers: All or Active

All resizes every layer and the canvas together, which is what you want in almost every case. Active resizes only the selected layer, which is how you make one sticker smaller without touching the background.

Enlarging is the case to be careful with. Going from 800 px to 2400 px invents pixels that were never captured; the result looks soft or, with Sharpen on, crunchy. There is no reconstruction here. If the goal is print, start from a bigger source.

Canvas Size: Add Space, Keep Every Pixel

Canvas Size does not touch the image data at all. It changes the sheet, and the layers keep their positions measured from the top-left corner. That last detail is the one people trip over: growing the canvas adds space on the right and bottom, so a subject that was centred ends up in the upper-left.

Make a square from a portrait photo

Read the current size in Image → Information (say 1200 × 1600). Open Canvas Size, leave In proportion unticked, set Width 1600 and Height 1600. Now the photo sits in a 1600 × 1600 sheet with empty space to the right. Fill that space, or move the layer over with Image → Translate to centre it.

In proportion, and when to leave it off

Ticked, Canvas Size scales the layers along with the sheet — that is a resize wearing a different hat, and it softens the image. Unticked, the layers stay at their pixel size and only the sheet changes. For adding margin, unticked is what you want.

The Resolution dropdown

Besides Custom, the dialog offers preset sizes with a Portrait / Landscape layout switch. Handy when a portal asks for exactly 1920 × 1080 or 1080 × 1080: pick the preset instead of typing numbers and hoping the orientation is right.

Trim: Delete the Uniform Margin

Trim is automatic cropping. It looks inward from each edge and removes rows and columns that match a uniform colour — typically the white border around a scanned document, or the grey padding around a screenshot.

Trim is destructive in the sense that the removed area is gone once you continue — undo still works, but the exported file will not contain it. On a document scan, do Trim before any sharpening, so you are not sharpening empty margin.

Choosing in Five Seconds

💡 If the operation changes how many pixels exist, it is Resize. If it only changes how much empty space surrounds them, it is Canvas Size. If it deletes margin, it is Trim.

Quick Answers

Why did my subject move to the top-left corner after I changed the canvas size?

Canvas Size never moves layers. They keep their coordinates measured from the top-left of the sheet, so extra space appears on the right and bottom. Move the layer with Image → Translate, or drag it on the canvas, then fill the leftover area with a background colour.

Does Resize with sharpen actually restore detail?

No. Sharpen raises local contrast at edges, which reads as crispness, but information removed by downscaling is not recovered. It works well after a moderate downscale at 100% zoom; stacked on an already sharp graphic it produces halos and crunchy edges.

Is Trim the same as cropping with the selection tool?

Trim is automatic and only removes uniform border colour, using the Power value as tolerance. The selection tool crops exactly where you draw, which is what you want when the edge is not uniform. Use Trim for scans and screenshots, selection for everything else.

Web PSEditor is an independent project. Every step on this page is tested against the current build before it is published. If a menu or option has moved, tell us through the contact page and we will correct it.

Related Tutorials

🎯 Hands-on Practice 100% Local

Take one photo, run Image → Information, then change the canvas to a square without resizing — and watch where the subject ends up.

Try It in Web PSEditor