Skip to main content
Known Participant
October 15, 2008
Question

resize canvas to selection

  • October 15, 2008
  • 38 replies
  • 109184 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

Known Participant
October 15, 2008
As the thread evolved mainly around other issues, what's the bottom line for my original question now?

b Is there a way to: "resize canvas to selection" ?

(other than the workaround with a dummy layer)
Known Participant
October 15, 2008
OK, J Maloney. If you can, I would be thankful if you could still reply to my other question: which OTHER method of canvas resizing did you use than "image>>canvas size" ?? (or did you mean the hide-crop method?)
Participating Frequently
October 15, 2008
I stand corrected. Still doing tests on a background layer only. You are correct, Mark, that Image... canvas size (if applied to a layered doc) does allow to "reveal all" back the pixels you "cropped".

J
Known Participant
October 15, 2008
> OldBob
> VERY flipping interesting.

yes, see post #6
Known Participant
October 15, 2008
> I just did (use the crop tool with "hide" selected instead of the default "delete").

good, than we are on the same page :)

>However, to be clear, I still stand by my comment that "canvas resize" from the image... canvas size menu does nothing but crop/delete. Please correct me if I'm wrong.

huh? no, AFAIK "image>>canvas size" does not delete any pixels. It is not true that it "does nothing but crop/delete". If you just acknowledged that resizing the canvas does not delete pixels outside the selection, BUT that "image>>canvas size" DOES DELETE, then how else do you change the canvas size?? I don't know any other method.
Known Participant
October 15, 2008
> Yes, but the pixels outside the selection are deleted."

> "Crop with the "hide" option checked in the options bar."

>I've read and re-read and opened up an experiment image, trying to follow what you want to do, and still don't understand why the italicised reply above (from PeterK) doesn't work for what you're after.

Yes, I already acknowledged that it works. I said "sorry" (because I was mistaken) and "great".

As for your question: I'm using CS3.

> I don't even see the need for creating a "dummy" layer.

Do you see any other way to resize the canvas to a existing selection ?
OldBob1957
Inspiring
October 15, 2008
Ah! Thank you. That explains it.
Participating Frequently
October 15, 2008
Canvas resize will allow you to "reveal all" afterwards, as long as you change your "background" layer to a regular layer. Reveal all only works on the contents of layers, not images consisting of only background.
OldBob1957
Inspiring
October 15, 2008
VERY flipping interesting.

I just tried this with CS3:

Made a canvas 250 x 250 pixels/clear background.

Fill with a gradient (so I can tell if I get everything back)

Image > Canvas Size: 100 x 100 pixels

Image > Canvas Size 250 x 250 pixels

And all the data was still there.

HOWEVER:

Repeating this with a white background or flattened file WILL INDEED permanently crop the data.

Curious.
Participating Frequently
October 15, 2008
>Didn't you ever try?

I just did (use the crop tool with "hide" selected instead of the default "delete"). That's why I edited my post and thanked PeterK (and Mylenium too :) ).

However, to be clear, I still stand by my comment that "canvas resize" from the image... canvas size menu does nothing but crop/delete. Please correct me if I'm wrong.

J