Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I copied a layer from another image file , and created a empty canvas to hold the image copied.

But when I create the new canvas , the default size was as same as the original canvas , where I copied this layer.

How can I resize the canvas size to exactly the size of the image I copied ? As you can see , it's already under selection , maybe there's some way out from here.

Or if anyone knows how to set the canvas size from layer , when you create the empty cavnas , it's a neat solution as well.

enter image description here

share|improve this question
up vote 5 down vote accepted

Copy the layer then use shift + ctrl + v to create a new image from the copied layer.

share|improve this answer
Cool ! +1 for the convenient , exactly what I want – warl0ck May 8 '12 at 5:52
You're welcome. – magicalex May 8 '12 at 9:52

You can use "Crop to Selection" to achieve this.

Make sure the image is selected. Right click anywhere on canvas and navigate to "Image" menu, In image menu select "Crop to Selection".

enter image description here

Hare's the result!

enter image description here

share|improve this answer
'Image'->'Autocrop Image' also works. – Parto Jul 14 '14 at 20:07

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.