anyone got any pointers how to generate multilayered PSD files without using Photoshop? Functionality needed is mostly generating different kinds of layers, groups, set their names and properties as well as blending modes.
I believe that this can be done w/ GIMP. GIMP can read/write PSDs, and it has a Python scripting interface. “Layer groups” were added fairly recently as well. It’s no Photoshop, but it is a solid image editor with a very appealing price tag.
Thanks a lot, i will look into that. As a bit of background i am looking to replace a Photoshop based automated part of the pipeline. Basically 3d renderings are split into their elements and a PSD file is pre-assembled for PS Artists to start working directly. This is happing in the renderfarm. And beeing PS scripting based it is errorprone, a big bottleneck (am not going to license PS per renderslave :P) and expensive (even the single PS license is a waste for such a low level task).
Using gimp and eventually some command line batch processing sounds like it might be feasible. Thanks again!
We use ImageMagick for all our conversion and thumbnail generator server, works pretty well, and with the 32bit HDRI compiling options it supports float as well.
@svenneve: That does not allow to output layered PSDs tho, does it?
Sadly gimp was a dead end. It supports saving layers, but not groups to PSDs.
Currently am experimenting with rewriting the current process to be OLE/COM based. That still seems more verbose/better to automate than using jsx (jeez).
This still does not solve the problem of incredibly expensive licenses needed for pre-assembling a bunch of comps. So all input is still welcome!
Would this also allow for nested groups and alike? Gimp only supports layers, not groups and nesting. And from my quick tests im seemed to have the same limitation.
In addition i probably need to do some seriously wrangling, re-arranging, have some input layers as layermasks etc. I guess this will finally be off the limits for non-PS tools
Layer group visibility and blend modes are preserved. However, Paint.NET does not have hierarchical layers, so the sublayers are treated as individual layers. Depending on the blend modes used, the composite image may not look correct in Paint.NET.
Did you ever find a good solution to your problem? We use Photoshop droplets to automate psd creation for our artists use and I am curious if you found anything usable?
[QUOTE=instinct-vfx;24934]Sadly not. The only thing that supports everything we need is PS itself. So we are using COM and/or jsx.
Cheers,
Thorsten[/QUOTE]
Thanks for confirming, we are using a javascript solution here. It works, but is kind of messy and slow. Glad to know we are not missing out on something!