Graphic Design Stack Exchange is a question and answer site for Graphic Design professionals, students, and enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a layer, which I would like to save as an image. See enter image description here

(the image is the complete button) When I choose the layer and choose file->save for web.. it save the image with the transparent background. I would like save the image without the background - just the image itself (which is way smaller than the full one)

How can I do it?

I am using PhotoShop CS5

share|improve this question
up vote 3 down vote accepted
  • Choose Image > Trim and tick the "Transparent Pixels" option.
  • Save for Web
  • If you want the full image back, choose Edit > Step Backwards
share|improve this answer
Exactly what I needed. Thanks! – Dejel Aug 21 '13 at 20:07

You need to crop it to the image dimension first.To select the image only, in your case it is the white rectangle/button,use crop tool(C) and drag a rectangle around the image and hit enter to apply.Then file-->save for web

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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