It isn't a big problem but if there is any way to do it than it would be great.
I want to erase the image but its remaining part is outside the canvas in Photoshop and can't erase it. It is in perfect position and don't want to move it.
enter image description here

Is there any way to erase it?

  • Select all
  • Choose Image > Crop from the menu.

This will delete all the pixels which fall outside the canvas.

Note it will not delete smart objects or vector/shape layers outside the canvas. To the best of my knowledge, there is no way to remove extra smart object or vector/shape layers outside the canvas.

| improve this answer | |
  • best of my knowledge mean you are not sure, well it isn't smart object and worked. Thanks – Murtaza Aug 27 '14 at 20:14
  • 5
    Best of my knowledge means.. as far as I know. But I didn't develop Photoshop and it's not unheard of that there's a feature I'm unaware of. – Scott Aug 27 '14 at 20:15
  • Photoshop is one of those apps that you can use for 20 years, and still discover new features that have probably been there that entire 20 years. Thanks, +1. Tried with 19.0 and works great. Can't imagine they would drop the feature in 19.1. @VitoGentile sounds like user error to me. – Adam Plocher May 7 '18 at 10:26

An alternative to try: select all (or make a selection of everything you want to keep), right click > layer via copy, use the copied layer and hide the original.

(I know this is a really old question I just thought some one else might end up here with a similar problem (like I just did...))

| improve this answer | |
  • This only works if everything you're copying is on one layer. In many cases there would be multiple layers of art, and probably wouldn't be useful to have them all merged into one layer in order to use "layer via copy". – DLev May 18 '17 at 18:33
  • This is the perfect answer if you don't want the change to affect every layer though. +1 – lucidbrot May 10 '18 at 6:21

I was wondering the same thing, found this question, but was not satisfied with the answers. My solution is to use Image>Canvas Size and then make it very large. Delete the stuff that is off of the canvas and you do not want using any of the usual methods. When you are done, return the canvas to the original size using Canvas Size again.

When you do layer via copy, you lose the ability to adjust the parts that are off the canvas that you want to keep.

| improve this answer | |
  • I think Scott's answer is the best. Your method would provide more control over which layers get cleaned up and which don't, but it's very tedious. You would need to do each layer individually (afaik you can't do a delete on multiple selected layers....?) and you would need to keep track of how you sized the canvas initially (e.g. "Ok Adam, remember you added 1000 pixels to each side"). Scott's solution will handle all layers in 2 clicks. – Adam Plocher May 7 '18 at 10:34

When cropping, check the 'Delete Cropped Pixels' box.

| improve this answer | |

Right click on the layer that is larger then our canvas, then select "rasterize". After that do a select all to select your whole canvas then "image > Crop". Now if you try to "transform" that layer it should should only be as wide as your canvas.

I was working on 18x12 posters and the images I was enlarging were hanging way over the canvas and would not crop because they were imported as vector images.

Good luck. Steve

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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