Photoshop CC – crop canvas to fit the image

I was sent an image (.psd) that has transparent background. When I export it the resulting .png preserves the transparent background so the image actually takes more space on a website than necessary. It’s a logo image.

I’m trying to adjust the transparent canvas site to only take the space by the image itself.

Alternatively, how do I export it so that the resulting .png is only the size of actual logo (rectangle) not including the transparent space (bigger rectangle).

Thank you.

Answers:

Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue immediately. So please treat them as advisements. If you found the post helpful (or not), leave a comment & I’ll get back to you as soon as possible.

Method 1

To trim off the transparent areas simply use Image/Trim... and then select Transparent Pixels.

Method 2

When snap is turned on and you are cropping the image with crop tool it snaps to the pixels of the image. (to keep it in some proportion, you can set aspect ratio for the crop).


All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x