Page 1 of 1

Combining multiple Fred's cylinderize script

Posted: 2018-03-25T01:14:55-07:00
by Roshit121
Hi,
I just started using imagemagick a few days ago and could not find a way to run multiple cylinderize scripts. So, how could I combine multiple Cylinderize scripts that have different backgrounds and gives different results into a single script?

Code: Select all

cylinderize -m vertical -r 370 -l 810 -w 85 -p 5 -e 2 -a -90 -v background -b none -f none -o -100-65 -c multiply image.png mug.png wrap1.png
cylinderize -m vertical -r 370 -l 810 -w 85 -p 5 -e 2 -a 0 -v background -b none -f none -o +0-65 -c multiply image.png mug_front.png wrap2.png
cylinderize -m vertical -r 370 -l 810 -w 85 -p 5 -e 2 -a 90 -v background -b none -f none -o +100-65 -c multiply image.png mug_flip.png wrap3.png

Re: Combining multiple Fred's cylinderize script

Posted: 2018-03-25T02:58:03-07:00
by Bonzo
Write a loop in your preferred programing language using an array to provide your input and output images.

Re: Combining multiple Fred's cylinderize script

Posted: 2018-03-25T03:06:25-07:00
by Roshit121
Thanks for the suggestion, I will try that