I am a Fireworks user new to Photoshop. In FW there is the very handy "fit to canvas" button in the properties panel at the bottom which when clicked snaps the image to the canvas by adjusting the canvas's size to be no larger than the image.

Is there such a tool in PS?


14 Answers 14


The closest you'll get is the Trim… command in the Image menu.

  • If the content is bigger than the canvas it's not working as Fireworks 'Fit to canvas' tool. Only when the content is smaller than the canvas it works fine. Sep 29, 2013 at 7:43
  • 2
    @AwQiruiGuo As I said, it's the closest you'll get. If it's something you need to do often, it's relatively straightforward to make a photoshop action to change the canvas size to something arbitrarily large so that the content is surrounded by blank space, then use the trim command.
    – ghoppe
    Sep 30, 2013 at 15:09
  • 5
    @ghoppe : Actually, in an instance where the content is larger than the canvas, "Reveal All" is right there in the Image menu – no recording an action required.
    – MG_
    Aug 16, 2014 at 22:39
  • You could just increase the canvas size to anything that is bigger than your image, and then use trim. Jan 13, 2015 at 14:49

I'm using Photoshop CC 2014 at the moment and could simply achieve that by doing Image > Reveal All.

  • 4
    I know this is an old question/answer but I've been struggling with this forever and didn't know "Reveal All" existed. Thank you for teaching me something new!
    – Vicki
    Sep 2, 2015 at 0:53
  • 1
    Unless the image is smaller than the canvas
    – Eoin
    Mar 24, 2016 at 11:25
  • 1
    You just need to make the canvas smaller than the image then reveal all, and it'll expand just enough to fit the image.
    – the12
    May 13, 2017 at 18:14
  • use rectangular select (M) over the whole image
  • copy the image (Ctrl/Option+C)
  • File > New...
  • on Preset click Clipboard
  • then paste it there (Ctrl/Option+V)
  • This is usually what I do, no matter the editor. Seems if you have a freshly filled clipboard in Photoshop CC 2015, the preset will be already configured to Clipboard already, with the dimensions of the the clipboard.
    – tomByrer
    Feb 23, 2016 at 2:49

Go to: Edit > Preferences > General > and check the box that says "Resize Image During Place" Then when you place an image, it will fit it to your canvas.


You could always simply crop close to the edges of your content. Zoom in to be more precise.


you have to use crop , select the width and height of the image for the canvas , and the canvas will adjust for you


go to your preferences (command K). check the box "resize image during place"


If you already have a lot of layers and the other suggested solutions don't work.

You can always go to image > Canvas and make a note of the dimensions. enter image description here

Then choose your image, CTRL & T for Transform and enter in the canvas dimensions.

You can click the little chain if you want it to keep it's proportions then just enter either the width or the height. enter image description here


I did it this way: Replace the 100% width in the topbar by the width in pixels of your canvas. (Replace the % with 'px'). Be sure the Keep Aspect Ration chain-icon is active.


When you need to give a precise margin distance between object or product in already clipped images in a transparent background you can get it by:

  1. Image > Trim > Transparent pixels and click all sides.
  2. Image > Canvas size: Relative and add millimeters or inches

That's all


I know this is an old thread, found it while hoping there was finally a better solution for this but since Photoshop is horrid seems there is not. The only solutions I have found is to copy the layer and do a new document based on whats in the clipboard. The other alternative is to work with a canvas much larger then you anticipate.

  • Welcome to GDSE! Have you seen that this already have an accepted answer which in my eyes seems to be correct? (Especially if you read the comments as well.) I think you are missing the possibility to "Image > Reveal All" followed by "Image > Trim".
    – Wolff
    Dec 29, 2019 at 16:08

Alternative solution... use a Script: https://github.com/RetoqueFactoria/photoshopscripts/blob/master/ES%20Encajar%20Capa%20en%20Lienzo.jsx

  • 2
    While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. - From Review
    – Lucian
    Feb 3, 2022 at 22:31

Using menu command "File...Automate...Fit Image" is one option.


In Photoshop its alt+i+r at the same time.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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