I am using an animation software that outputs the animation as PNG sequences labeled filename-001.png, filename-002.png etc. I'd like to use imagemagick's convert to compile a PSD so I can edit it fast in Photoshop.
I need the Windows batch file to get all the png files from the folder the batch file resides in (or alternatively drag and drop the first image in the sequence or drag and drop the folder) and convert them in a layered PSD file.
The label ideally should be the filename part (e.g. for layer 2 = "filename-002")
Currently my batch is as follows:
convert
( -page +0+0 -label "label1" "filename-001.png"[0] -background none -mosaic -set colorspace RGB )
( -page +0+0 -label "label2" "filename-002.png"[0] -background none -mosaic -set colorspace RGB )
( -page +0+0 -label "label3" "filename-003.png"[0] -background none -mosaic -set colorspace RGB )
( -page +0+0 -label "label4" "filename-004.png"[0] -background none -mosaic -set colorspace RGB )
( -clone 0--1 -background none -mosaic ) -reverse "out.psd"
This of course converts the png images that I input manually, I need to make this more automatic.
Also finally, the resulting PSD has its layers opacity-locked, I'd like them not to be locked so I can edit the PSD faster in Photoshop.
%1%
in .bat scripting? Otherwise it looks like you're good to make your animation. Good luck..bat
or.cmd
), is it?