Skip to main content
Known Participant
October 15, 2008
Question

resize canvas to selection

  • October 15, 2008
  • 38 replies
  • 109182 views
Hi folks,
is there a way to resize the canvas to the current selection (similar to image>>crop which crops the image to the selection) ?
thanks!

38 replies

Participating Frequently
October 15, 2008
Make your selection, go to Image-Crop.

Ah, but you want to keep what's outside the crop. Just use the crop tool then. You draw the rectangle with the crop tool, instead of using some other tool to make the selection.
Known Participant
October 15, 2008
>Umm, but that's what you do?! I really don't follow your logic. Technically it doesn't matter which method you employ,

OK, Mylenium, then please tell me a method which resizes the canvas to the current selection (rectangle).
Known Participant
October 15, 2008
Ed (and everyone else), I think you are confusing 3 different things:

1) image resizing: you take the whole image and multiply the amount of x and y pixels by some factor (or simply change dpi in case you don't resample the image)

2) cropping:
a) if your selection is smaller than the current image borders, than you actually delete all the pixelx outside the selection
b) if your selection is bigger than the current image borders, you resize the canvas
c) can be both a) + b)

3) canvas resizing: you just change the size of the active work space for your document.
a) make canvas smaller: like cropping 2a) but your pixels don't get deleted (get them back with image>>reveal all)
b) make canvas bigger: add transparency (or background colour) around the layers
c) can be both a)+b)

So I hope the different concepts are clear now.

Again, my question is:

Can I resize the CANVAS to my selection?
Mylenium
Legend
October 15, 2008
>Mylenium, same thing, as marked bold in my OP, I need to resize the
>canvas, not crop the image.

Umm, but that's what you do?! I really don't follow your logic. Technically it doesn't matter which method you employ, as long as the layers retain their pixel data, which is what you seem to require. You can even use the Crop tool to expand the canvas size, btw.

Mylenium
Known Participant
October 15, 2008
Thanks for your help.

J Maloney, you mean image>>image size ? As I said, I don't want to resize the image, but the canvas. And I wasn't able to copy anything from the info palette (or did you mean enter the values manually in another dialogue as opposed to copy/paste?)

Mylenium, same thing, as marked bold in my OP, I need to resize the canvas, not crop the image.
Ed_Hannigan
Participating Frequently
October 15, 2008
Mark,

Isn't that exactly what Image>Crop is doing? Not sure I understand what you're asking.
Participant
June 29, 2023

i think i landed on this question to find this answer ..hahah thanks ! 🙂 

Mylenium
Legend
October 15, 2008
You could simply use guides, have them snap to the selection borders (which they do) then use the crop tool with the "Hide cropped regions" option. Gives the same result, just involves a few more steps.

Mylenium
Participating Frequently
October 15, 2008
You can always copy the selection dimensions from the info palette into the image size dialog.