• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Photoshop Script: Export Layer To File

New Here ,
Mar 09, 2015 Mar 09, 2015

Copy link to clipboard

Copied

Hi


I have set up an action to  use "Export Layer To Files" to save out  multipile jpg, and I have noticed the file compression is allot larger compared to the, Save for web option. Is there anyway I can use Export Layer To Files in an action, but then use the Save for web option to get better compression for the final file export?

TOPICS
Actions and scripting

Views

1.8K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Community Expert ,
Mar 09, 2015 Mar 09, 2015

Copy link to clipboard

Copied

The "Export Layer To Files"  script seems to be a plugin script therefore it records the setting use in it dialog into an action step when recorded into an action. Thus when the action is played the "Export Layer To Files" script step  will bypass displaying its "Export Layer To Files" dialog and use the setting it recorded into your action step. So you must have selected save jpeg and set a high quality jpeg setting in its dialog when you recorded the action. If you re-record the action step and uncheck include ICC profile and set a low jpeg quality setting.  The jpeg files saved will be smaller in the future.   The Jpeg quality setting influences how  compression is done.  Low quality setting loose more image quality than high settings but the output file size is smaller with lower values. Save for web you can reduce output size also by saving lower quality image additionally you can also strip all image meta-data and reduce the  image size using interpolation.

JJMack

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 09, 2015 Mar 09, 2015

Copy link to clipboard

Copied

Hi

Thanks for your advise, yes I do understand how the compression works for Export Layer To File, and I already have it on a low setting, but when I did a test on the same image but using SFW setting, the same image saved out 25K smaller on compression.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 09, 2015 Mar 09, 2015

Copy link to clipboard

Copied

You did not state which version of Photoshop you using.   I'm not sure if export layers to files was always a plug-in.  Expand your actions export layers to file step. Make surre you set your setting have been recorded iti that step.

Capture.jpg

JJMack

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 10, 2015 Mar 10, 2015

Copy link to clipboard

Copied

Good point, I'm useing Photoshop CC. At the moment I'm exporting out  the images using the Layer to File option with no compression as 1 action, and then doing a batch process on the exported image to compress the images using SFW. but it's a 2 step process, and it would be nice to set this up in one go so to speak, but I just cannot find away to do this my end.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Mar 10, 2015 Mar 10, 2015

Copy link to clipboard

Copied

LATEST

You can use the "Layer Saver" script found on this site..

http://www.ps-bridge-scripts.talktalk.net/

It will save in "Save for Web" as well as other formats.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines