Announcement

Collapse
No announcement yet.

Saving layers as files in PhotoShop 7?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Saving layers as files in PhotoShop 7?

    I am driving myself crazy trying to figure out how to automate this task: I have several PSD files with around 110 layers (little pictures that I mask and keep all aligned identically), and I would like to export each layer into its own file, sequentially numbered, so that I can use the images in InDesign. It seems that Photoshop CS offers this feature, but does anyone know who to do it in PhotoShop 7 (on Windows)? A script of some sort?

    Thanks a million (which is about how many little pictures I'll end up with!)
    Last edited by Michael B.; 03-23-2004, 10:42 AM.

  • #2
    Originally posted by Michael B.
    I am driving myself crazy trying to figure out how to automate this task: I have several PSD files with around 110 layers (little pictures that I mask and keep all aligned identically), and I would like to export each layer into its own file, sequentially numbered, so that I can use the images in InDesign. It seems that Photoshop CS offers this feature, but does anyone know who to do it in PhotoShop 7 (on Windows)? A script of some sort?

    Thanks a million (which is about how many little pictures I'll end up with!)
    Clarification: This functionality is provided through JavaScript that was written for this purpose that ships with CS.

    So what?

    PS7 supports scripting. One possibility would be to download/install the PS7 Scripting plugin from Adobe.com and find someone who will send you the CS JavaScript. I can't. I don't have CS. This might be stretching legality a bit (acquiring a component of CS if you don't own CS).

    Once upon a time I looked at the code for this script and recall there is no limit to the number of layers an image can have. The script figures it out.

    I don't recall how it names the files (by layer name? by numbered sequence?) and that might be an issue. Modifying the script to meet your filename requirements wouldn't be a hard one to make if you're into that sort of thing.

    A non-glamorous, but functional way to skin this cat would be to craft an action that separates a multi-layer image into separate layers (inside Photoshop's window), and a second action invoked through File > Automate > Batch that would save/close and assign custom names en mass to the open images. It would leverage PS's ability to assign custom file names that include a sequentially numbered field.

    Something like...
    * File consisting of Top layer would be file name 001-xxx.psd
    * File consisting of next layer down would be 002-xxx.psd
    . . . .
    * File containing background: 110-xxx.psd
    ...where xxx can be anything you like or nothing.

    If this sounds like something that would work for you, I've done a little testing and I'm pretty sure I can make this work. I'll be glad to help you so you don't have to reinvent the wheel. (Click my name above this post and send me e-mail and we'll do this offline.)

    ~Danny~
    Last edited by DannyRaphael; 03-23-2004, 03:21 PM.

    Comment


    • #3
      Michael:

      Just to be sure I wasn't imagining things, I wrote the actions mentioned in the previous post. The process works very well.

      E-mail me so I can reply with .atn file attached.

      ~Danny~

      Comment

      Related Topics

      Collapse

      • DannyRaphael
        Need: Script to traverse folders + allow file renaming
        by DannyRaphael
        Suppose I wanted to do in a script the functional equivalent of File > Automate > Batch...

        a. Source: Use all subfolders
        b. Destination: Save and close

        ...plus

        c. engage the File Renaming option to change the processed file name
        ...
        02-16-2005, 01:08 PM
      • clickin
        I need a Script like a mail merge!
        by clickin
        I need a script like a mail merge! I want to rename my files to the names of the students. I have a excel spread sheet with all the names and the file names. I need a script to rename the camera file name to the person's name.jpg. I hope that was clear. Does anyone have any ideas? I am new to...
        02-16-2005, 09:25 AM
      • moiremusic
        script to capture layer names...
        by moiremusic
        Has anyone ever heard of a script that takes the names of all the layers and layer sets and puts them in a text file (or something else that would let me take it elsewhere, like a text layer or clipboard)?

        Scripting is a little over my head, but such capability would be quite useful to...
        06-21-2005, 05:58 PM
      • Cameraken
        Script to Detect Upright and View images
        by Cameraken
        Hi

        Let's assume I have a CD full of pictures. All the pictures are different sizes some are upright and some are view, some may even be square. (But they are all correctly orientated)

        What I would like to do is create a batch file to:

        Find the longest side...
        01-06-2008, 10:23 AM
      • jjwithers
        Layer Comps to PNG without Numeric Prefix?
        by jjwithers
        I'm going to be saving thousands of layer comps out to PNGs from a series of PSD files and i recently noticed that the script adds a numbered prefix to the name of the files. I do not want this number. Is there any way to run the script without the prefix?
        The file names will have to be specific...
        10-04-2010, 10:56 PM
      Working...
      X