5 Replies Latest reply on Mar 10, 2015 9:59 AM by Philip Cord

    Photoshop Script: Export Layer To File

    wayneitb

      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?

        • 1. Re: Photoshop Script: Export Layer To File
          JJMack Most Valuable Participant

          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.

          • 2. Re: Photoshop Script: Export Layer To File
            wayneitb Level 1

            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.

            • 3. Re: Photoshop Script: Export Layer To File
              JJMack Most Valuable Participant

              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

              • 4. Re: Photoshop Script: Export Layer To File
                wayneitb Level 1

                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.

                • 5. Re: Photoshop Script: Export Layer To File
                  Philip Cord Level 4

                  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.