Combining multiple Fred's cylinderize script

A plethora of command-line scripts that perform geometric transforms, blurs, sharpens, edging, noise removal, and color manipulations.
Post Reply
Roshit121
Posts: 7
Joined: 2018-03-25T01:01:43-07:00
Authentication code: 1152

Combining multiple Fred's cylinderize script

Post by Roshit121 » 2018-03-25T01:14:55-07:00

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

Bonzo
Posts: 2969
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

Re: Combining multiple Fred's cylinderize script

Post by Bonzo » 2018-03-25T02:58:03-07:00

Write a loop in your preferred programing language using an array to provide your input and output images.

Roshit121
Posts: 7
Joined: 2018-03-25T01:01:43-07:00
Authentication code: 1152

Re: Combining multiple Fred's cylinderize script

Post by Roshit121 » 2018-03-25T03:06:25-07:00

Thanks for the suggestion, I will try that

Post Reply