Skip to main content
BarryWhitelaw
Known Participant
August 22, 2020
Question

Crop to content

  • August 22, 2020
  • 2 replies
  • 2082 views

So I have created an image within the default layer size, however, the image is smaller than the layer.

 

Is there a quick way to crop the layer (or all layers) to the overall size of the image?

 

When I export as .png there is a lot of dead space around the image.  I can easily crop this using Preview (in Mac) but am I aadding in an extra step here?  

 

Looked for a menu option, but can't see anything ovious.  A search online seems to find various ways of doing this, converting layers etc to smartobjects and then a few extra steps, but that seems like a long way round for a simple task.

 

In Gimp, there is an option 'crop to content'.  I'm assuming Photoshop has this option, called something else?

 

thanks

This topic has been closed for replies.

2 replies

Bojan Živković11378569
Community Expert
Community Expert
August 24, 2020

Depend on what is surrounding actual image you can use Image > Trim > either Transparent Pixels or Top Left/Bottom Right Pixel Color. 

Pixel color means top left single pixel or bottom right single pixel color will be sampled before remove same color around image. As you probably know, resulting image will be always either square or rectangle.

didiermazier
Community Expert
Community Expert
August 24, 2020

To my knowledge ther is not such a function in Phototshop. But if the background is transparent, you ca go to Image>Crop>Transparent pixels…