46

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?

1
  • I miss Fireworks :D Commented Apr 21, 2020 at 14:22

14 Answers 14

53

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

4
  • 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. Commented 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
    Commented 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_
    Commented 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. Commented Jan 13, 2015 at 14:49
20

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

3
  • 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
    Commented Sep 2, 2015 at 0:53
  • 1
    Unless the image is smaller than the canvas
    – Eoin
    Commented 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
    Commented May 13, 2017 at 18:14
5
  • 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)
1
  • 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
    Commented Feb 23, 2016 at 2:49
2

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.

0
0

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

0

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

0

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

0

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

0

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.

0

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

0

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.

1
  • 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
    Commented Dec 29, 2019 at 16:08
0

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

1
  • 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
    – lmlmlm
    Commented Feb 3, 2022 at 22:31
-1

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

-2

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.