//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");
//GRADIENT FOR EYEBALLS
exec ("/usr/bin/convert -size 10x10 gradient:blue-transparent -distort SRT 140 grads/BlB.png");
exec ("/usr/bin/convert -size 10x10 gradient:blue-transparent -distort SRT -140 grads/BlBn.png");
exec ("/usr/bin/convert -size 10x10 gradient:transparent-blue -distort SRT 140 grads/BBl.png");
exec ("/usr/bin/convert -size 10x10 gradient:transparent-blue -distort SRT -140 grads/BBln.png");
exec ("/usr/bin/montage grads/BlB.png grads/BlBn.png grads/BlBn.png -flip grads/BlB.png -flip -tile 2x2 -geometry +0+0 grads/eyeball.png");
//GRADIENT FOR MOUTH
exec ("/usr/bin/convert -size 17x10 gradient:black-orange -distort SRT 10 grads/mouth.png");
//MAKE GRADIENTS FOR THE NOSE
exec ("/usr/bin/convert -size 8x20 gradient:bisque2-salmon -distort SRT -40 grads/noseL.png");
exec ("/usr/bin/convert -size 8x20 gradient:bisque2-salmon -distort SRT 40 grads/noseR.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 -page +152+168 grads/mouth.png -page +132+125 grads/eyeball.png -page +172+125 grads/eyeball.png -page +152+140 grads/noseL.png -page +158+140 grads/noseR.png -background black -flatten grads/eyes.png");
exec ("/usr/bin/convert grads/eyes.png -resize 60% -trim Example/eyes.png");
print "