//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");
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 +110+190 grads/robeT.png -page +110+320 grads/robeB.png -background black -flatten grads/robe.png");
exec ("/usr/bin/convert grads/robe.png -resize 60% -trim Example/robe.png");
print "