Skip to main content
New Participant
September 7, 2009
Answered

Export Groups to Files?

  • September 7, 2009
  • 13 replies
  • 123401 views

Is there a way to export multiple GROUPS into individual files, such as jpg?  If I run the File > Scripts > Export LAYERS To Files, each LAYER becomes a jpeg, but i'd like each GROUP to be flattened and exported as a jpg. Is there a script or funtion that performs this task?

This topic has been closed for replies.
Correct answer c.pfaffenbichler

You could replace the pdfOptions with

var jpgopts = new JPEGSaveOptions();

jpgopts.embedColorProfile = true;

jpgopts.formatOptions = FormatOptions.STANDARDBASELINE;

jpgopts.matte = MatteType.NONE;

jpgopts.quality = 10;

and edit that according to Your needs.

Then replace »pdfOpts« and ».pdf« in the saveAs-line with »jpgopts« and ».jpg«.

13 replies

Stephen Marsh
Adobe Expert
September 10, 2023
New Participant
September 9, 2023

Command click or Shift left click to select the layer groups you need to export. Right click to the right of the layer group in the layer tab and click to export as...

c.pfaffenbichler
Adobe Expert
September 9, 2023

Whether this manual approach can be deemed efficient would depend on the number of Groups and Files one needs to process, I guess. 

David Kobliska
New Participant
November 22, 2022

As of 24.0.1, 

  1. Select whatever group(s) you want to export
  2. Right-click -> Export... (or Quick Export as PNG)
  3. Choose a location (and/or create a New Folder)
  4. Click Open
Known Participant
February 4, 2019

oh ok. thanks by the way.

Known Participant
February 1, 2019

then is there a way to save each layers of multiple photoshop file?

c.pfaffenbichler
Adobe Expert
February 1, 2019

How good is your JavaScript knowledge?

Because this could be scripted but I can’t think of a default Script that performs the task.

Known Participant
February 1, 2019

my skills in javascript is intermediate.

Known Participant
February 1, 2019

how to save each layers to image in multiple photoshop file in a folder using scripting without opening photoshop

c.pfaffenbichler
Adobe Expert
February 1, 2019

Photoshop needs to be open to work.

Known Participant
February 1, 2019

hi guys, i just want to ask if you know how to save each layers to image in multiple photoshop file in a folder using scripting without opening photoshop. Please help me

c.pfaffenbichler
Adobe Expert
February 1, 2019
how to save each layers to image in multiple photoshop file in a folder using scripting without opening photoshop

That would not seem to be possible as Photoshop cannot work if it’s not open.

New Participant
February 6, 2012

I know, but it would be awesome if such a great script also is available for Illustrator.

Will have a look at your link, thanks pfaffenbichler

if somebody has found it please post it here

keep up the good work y'all

New Participant
February 6, 2012

sounds great,but

is this script also available for Illustrator?

That would make our day and make you the person of the year!

c.pfaffenbichler
Adobe Expert
February 6, 2012

is this script also available for Illustrator?

Say what?

Photoshop and Illustrator’s Document Object Models are quite different, so a Script’s functionality is not necessarily (easily) transferable.

Anyway, you might want to check over at

http://forums.adobe.com/community/illustrator/illustrator_scripting

New Participant
December 21, 2011

After 30 mins on Google I found this thread and downloaded the script for Layer Saver

I knew what I wanted to do, but not how to do it.

I have 100s of files each with up to 100 layers that I need to export as separate trimmed psd files

This script does it. It has saved me so much hassle and so a HUGE 'thank you' is due to you

and of course,

Seasons Greetings !