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

Export Layers to Files w/ Save-for-Web Option

Community Beginner ,
Aug 12, 2010 Aug 12, 2010

Back in CS2, ImageReady provided support for exporting layers to files, but in a save-for-web style compression.  Since ImageReady has been discontinued, the only option available has been to use the current script in photoshop.

We've done several quality tests on exported images from both programs, and since all of our work is done for web, keeping file sizes to a minimum and utilizing the SFW compression is a must.

Can anyone instruct me how to add this functionality to the current export layers to files script?

TOPICS
Actions and scripting
4.5K
Translate
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
New Here ,
Oct 15, 2010 Oct 15, 2010

I'm looking to do the same thing... can anyone help?

Translate
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
Guru ,
Oct 15, 2010 Oct 15, 2010

I modified the Export Layers to Files script to use saveForWeb when saving jpeg files. You can find it at http://ps-scripts.com/bb/viewtopic.php?f=10&t=3650

Translate
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
Explorer ,
Dec 20, 2011 Dec 20, 2011

Hi Michael,

Your script does not seem to work. I get this error box when I try to run it in CS3.

Error 19: Bad argument appDialogBackground.

Line 242

-> var brush = digMain.graphics.newBrush

(digMain.grpahics.BrushType.THEME_COLOR,

"appDialogBackground");

Translate
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
Valorous Hero ,
Dec 20, 2011 Dec 20, 2011

That line should not be a problem, I wonder if you are trying to run the script from ExtendScript Toolkit?

If so you need to set the target as Photoshop (Top Left dropdownlist)

If not, that line is not really required and can be commented out.

An alternative to this script is my Layer Saver Script that might be of use...

http://www.scriptsrus.talktalk.net/Layer%20Saver.htm

Translate
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
Explorer ,
Dec 20, 2011 Dec 20, 2011
LATEST

I am running the script from within Photoshop CS3. I am on Mac OS Leopard. It looks like that Layer Saver is only for Windows?

Edit: Ah, nevermind, saw that yours is for Mac as well at the top of the page. This seems to work good. Thanks!

Translate
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