//MAKE GRADIENTS FOR THE HAT
exec ("/usr/bin/convert -size 10x10 gradient:cyan-black -distort SRT -90 grads/Bn90.png");
exec ("/usr/bin/convert -size 10x10 gradient:cyan-black -distort SRT 90 grads/B90.png");
exec ("/usr/bin/montage grads/B90.png grads/Bn90.png -tile 2x1 -geometry +0+0 grads/BL.png");
exec ("/usr/bin/convert -size 10x10 gradient:deepskyblue-black -distort SRT -90 grads/Navy.png");
exec ("/usr/bin/convert -size 10x10 gradient:deepskyblue-black -distort SRT 90 grads/Navyn.png");
exec ("/usr/bin/montage grads/Navyn.png grads/Navy.png -tile 2x1 -geometry +0+0 grads/NAVY.png");
//RESIZE FOR HAT
exec ("/usr/bin/convert grads/BL.png -resize 30x10! grads/BL1.png");
exec ("/usr/bin/convert grads/BL.png -resize 40x10! grads/BL2.png");
exec ("/usr/bin/convert grads/BL.png -resize 50x10! grads/BL3.png");
exec ("/usr/bin/convert grads/BL.png -resize 60x10! grads/BL4.png");
exec ("/usr/bin/convert grads/BL.png -resize 70x10! grads/BL5.png");
exec ("/usr/bin/convert grads/BL.png -resize 80x10! grads/BL6.png");
exec ("/usr/bin/convert grads/BL.png -resize 90x10! grads/BL7.png");
exec ("/usr/bin/convert grads/BL.png -resize 100x10! grads/BL8.png");
exec ("/usr/bin/convert grads/BL.png -resize 110x10! grads/BL9.png");
exec ("/usr/bin/convert grads/BL.png -resize 120x10! grads/BL10.png");
exec ("/usr/bin/convert grads/NAVY.png -resize 140x10! grads/NAVY2.png");
//MAKE GRADIENTS FOR THE ROBE AND PUT TOGETHER IN A MONTAGE
exec ("/usr/bin/convert -size 50x20 gradient:cyan-black -distort SRT -40 grads/CBn40.png");
exec ("/usr/bin/convert -size 50x20 gradient:cyan-black -distort SRT 40 grads/CB40.png");
exec ("/usr/bin/montage grads/CB40.png grads/CBn40.png -tile 2x1 -geometry +0+0 grads/robeB.png");
//RESIZE AND FLIP FOR TOP ROBE
exec ("/usr/bin/convert grads/robeB.png -flip -resize 100x130! grads/robeT.png");
//MAKE GRADIENTS FOR THE ARM
exec ("/usr/bin/convert -size 120x10 gradient:black-cyan -distort SRT 10 grads/armLT.png");
//RESIZE ANGLE FOR LEFT ARM (using robe angle)
exec ("/usr/bin/convert grads/CBn40.png -resize 120x20! grads/armLU.png");
//FLIP RESIZE ANGLE FOR RIGHT ARM
exec ("/usr/bin/convert grads/CBn40.png -flip -resize 70x20! grads/armRU.png");
exec ("/usr/bin/convert grads/CBn40.png -resize 50x40! grads/armRD.png");
//RESIZE BEARD (gradcircle made outside the script) AND EYES
exec ("/usr/bin/convert grads/berd.png -resize 10x50! grads/sideL.png");
exec ("/usr/bin/convert grads/berd.png -resize 60x150! grads/beard.png");
exec ("/usr/bin/convert grads/berd.png -resize 32x30! grads/eye.png");
exec ("/usr/bin/convert grads/berd.png -resize 40x25! grads/Mous.png");
//GRADIENTS FOR SHOES
exec ("/usr/bin/convert -size 25x15 gradient:black-brown -distort SRT 40 grads/Rshoe.png");
exec ("/usr/bin/convert -size 25x15 gradient:black-brown -distort SRT -40 grads/Lshoe.png");
//GRADIENTS FOR HANDS
exec ("/usr/bin/convert -size 15x15 gradient:black-bisque3 -distort SRT 40 grads/Rhand.png");
exec ("/usr/bin/convert -size 15x15 gradient:black-bisque3 -distort SRT -40 grads/Lhand.png");
//GRADIENT FOR WAND
exec ("/usr/bin/convert -size 15x20 gradient:black-white -distort SRT 90 grads/Rwand.png");
exec ("/usr/bin/convert -size 15x20 gradient:black-white -distort SRT -90 grads/Lwand.png");
exec ("/usr/bin/montage grads/Lwand.png grads/Rwand.png -tile 2x1 -geometry +0+0 grads/wand.png");
exec ("/usr/bin/convert grads/wand.png -resize 10x120! grads/wand2.png");
exec ("/usr/bin/convert -page 260x370+100+80 grads/face.png -page +150+10 grads/BL1.png -page +145+20 grads/BL2.png -page +140+30 grads/BL3.png -page +135+40 grads/BL4.png -page +130+50 grads/BL5.png -page +125+60 grads/BL6.png -page +120+70 grads/BL7.png -page +115+80 grads/BL8.png -page +110+90 grads/BL9.png -page +105+100 grads/BL10.png -page +95+110 grads/NAVY2.png -page +125+340 grads/Lshoe.png -page +165+340 grads/Rshoe.png -page +35+190 grads/Lhand.png -page +50+85 grads/wand2.png -page +110+190 grads/robeT.png -page +110+320 grads/robeB.png -page +60+190 grads/armLT.png -page +60+200 grads/armLU.png -page +60+220 grads/CBn40.png -page +170+200 grads/armRU.png -page +190+220 grads/armRD.png -page +130+165 grads/beard.png -page +115+120 grads/sideL.png -page +195+120 grads/sideL.png -page +120+150 grads/Mous.png -page +160+150 grads/Mous.png -page +125+120 grads/eye.png -page +165+120 grads/eye.png -page +185+260 grads/Rhand.png -background black -flatten grads/shoes.png");
exec ("/usr/bin/convert grads/shoes.png -resize 60% -trim Example/shoes.png");
print "