Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 am completely new to Photoshop. I have a PSD file which has multiple layers, and I need to export various images/components from this PSD and export them to JPEG.

share|improve this question

You can export all layers by using the following batch tool in Photoshop:

In the menu

File → Scripts → Export layers to files...

you can set JPEG at the "file type" option.

This works in CS to CS5.

share|improve this answer
Thanks for your reply. I tried it but it didnt work :( For instance, my banner which had text in it, the image was exported but it was without the text. is there a way I could get the banner as a whole. Similarly i have various components on the page which need to be exported as a whole but are vested in multiple layers. How can i export these images as jpegs? – Advik Nov 1 '11 at 6:37
Yes that is possible. The thing is with the script that I told you is, that it will export by definition every single layer as an image. If you want to have the text on the banner you will have to merge the text layer with the banner layer. – xtarsy Nov 2 '11 at 7:46
highlight both layers -> right click -> and select merge layers. An other option, if you want to export several components with the script as a jpeg, you have to select all the layers you want combined, make a right click and create a smart object out of them. A smart object is like a layer, but keeps all the members in it intact. hope that helped a bit – xtarsy Nov 2 '11 at 7:53

If you are using Adobe Photoshop CS6 do the following:

  1. Select all the layers
  2. Right-click and convert into smart objects
  3. Go to File → Script → Image processor
  4. Click Run

And that's it. Job done.

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.