Display drivers PSD (Photoshop)

I can understand how to write the output of a render to a PSD file with all its channels, but the 3delight manual information is very poor about how to write different layers (with their respective channels) to the same *.PSD file.
I have 5 renders and instead of getting 5 *.png files I want to have a single *.psd file with 5 layers. 
Any idea how multiple layers are written to the same file or at least a hint of where I can look for that information?

Comments

  • Richard HaseltineRichard Haseltine Posts: 100,804

    Doesn't Photoshop have a command to open selected imaegs as layers?

  • MartirillaMartirilla Posts: 181
    edited June 2022

    You may need to combine the renders into a layered .PSD after they have been output as .PNG files. Call a custom script to launch Photoshop, and then have it load Photoshop's native 'Load Files into Stack.jsx' script. Then have the script save the output, and have the script kill the Photoshop process in Windows with the command photoshop.quit(); 

    .TIF files don't work on Photoshop CS6, only .PNG files. And 'Load Files into Stack.jsx' is 64-bit only.

    Post edited by Martirilla on
  • almahiedraalmahiedra Posts: 1,351

    Martirilla said:

    You may need to combine the renders into a layered .PSD after they have been output as .PNG files. Call a custom script to launch Photoshop, and then have it load Photoshop's native 'Load Files into Stack.jsx' script. Then have the script save the output, and have the script kill the Photoshop process in Windows with the command photoshop.quit(); 

    .TIF files don't work on Photoshop CS6, only .PNG files. And 'Load Files into Stack.jsx' is 64-bit only.

    Thanks for the info. I will try this. 

  • almahiedraalmahiedra Posts: 1,351

    Richard Haseltine said:

    Doesn't Photoshop have a command to open selected imaegs as layers?

     Yes, but the idea was to build automatically or almost automatically a PSD file ready to use for other users.

  • algovincianalgovincian Posts: 2,610
    edited August 2022

    Not sure if Python is something your familiar with, but there is this toolset:

    https://psd-tools.readthedocs.io/en/latest/index.html

    Also, maybe using ImageMagic from the command-line might help?

    https://imagemagick.org/index.php

    And of course VBScript  or Javascript can be used to automate Photoshop itself. This is extremely powerful and easy when combined with built-in actions in Photoshop:

    https://usermanual.wiki/adobe/photoshopccscriptingen.3289089851/view

    - Greg

    ETA: These would all mean rendering out multiple image files and then creating the PSD with layers via one of the methods.

     

    Post edited by algovincian on
  • just in passing ... since adobe seems to have not fixed the "no preview" on psds...  layered Tifs makes it easier to see what the image is. 
    I've been running the image processsor script to convert hundreds of old psds to tif so I can see what they are

     

Sign In or Register to comment.