you can get the script and detailed instructions here:
this script was initially released February 2nd 2008 for use in daz studio 2
it was improved and made compatible with DS 1, 3, 4 on January 10th 2013
It’s another one of those scripts intended for slightly nerdy users
Initially i wanted to write a script that rendered an animation frame by frame
and changed the background image for each rendered frame, so we would get animated backgrounds.
But Neon22 pointed out that using imagemagick (freeware imaging utilities) could be used to composite foreground/background images. Excellent compositing results can be obtained since the images rendered by DazStudio contain an Alpha Channel, which is like a transparency mask.
So i wrote a Daz script that creates a batch file that repeatedly calls ImageMagick to combine 2 series of numbered images
If you dont know what’s a batch file is, then you should not use this script.
Because there’s probabilities that you’ll accidentally destroy precious images
the animated image below is an example of compositing achieved with the help of compoZ
the second image shows the settings i used
my sequence of images for the foreground were located in c:\tmp
they were rendered by Daz Studio and include an alpha (transparency) mask
wak000.png, wak001.png ... wak148.png
my sequence of images for the background were located in c:\tmp
they were rendered in Blender-Cycles and dont need/have an alpha mask
image0030.jpg, inage0031.jpg ... image070.jpg
i had installed imagemagick in c:\imagemagick
the batch file created was c:\tmp\comp001.bat
this batch file with the help of imagemagick
created the output images in c:\tmp
compoz0.jpg, compoz1.jpg . . . compoz149.jpg
all input and output images were all 800x600