How to save layers as GIF images?

Posted on 2006-07-11
Last Modified: 2010-04-02
Hi all..

When I have a PSD file that contains a design of an HTML page, I need to save each layer as GIF images so that they are displayed in the page.

This is the way I proceed:

- Select the layer by using Ctrl-Click over the layer in the layers palette.
- Press Ctrl-C to copy it
- Create a new image
- Paste
- Save for Web

That procedure is tedious when there are a lot of layers. Is there a better way to do this?
I tried by making visible only the layer I want to export but when I choose Save for Web, the image to be saved has the original dimension, not that the visible layer has.

Question by:skel
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2

Expert Comment

ID: 17081672
You could hide the all the layers but one do a save as then go to the next one. Start with them all hiding, then go one at a time shouldn’t take more then a couple of minutes

Author Comment

ID: 17081844
Sorry... but I didn't understand. I have hidden all layers but one, and then?


Expert Comment

ID: 17086392
then do your save as and repeat for each layer that should be much faster then what you were doing

Author Comment

ID: 17086434
But when I do that, the resulting image size is the original one, not the size of the layer.

Suppose the document is 800 x 600, and the layer image is only 50 x 16. Of course I want to save only the image with 50 x 16, but by using "Save As" the whole canvas is saved.

Accepted Solution

Festaman earned 50 total points
ID: 17087363
o ok then crop it to fit, then undo it after the save as

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In this article, I'll explain how to change the color of a selection in Photoshop. I'm sure there are a couple different ways to do this in photoshop, but this is my preferred method in Photoshop. I am using Photoshop CS6 and I will be adjusting the…
Read about why website design really matters in today's demanding market.
In this Micro Tutorial viewers will learn how to create a CSS image sprite (In a later tutorial, viewers will learn how to use CSS and HTML to create a navigation menu using this sprite) Open a new Photoshop document with a width of (Icon width)x(N…
Users will learn how resize a batch of photos from a single command in Photoshop via Photoshop's Image Processor. Open up an Image you'd like to resize in Adobe Photoshop: Adjust the image size according to your preferences. Image > Adjustments > …

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question