THESE CODES ARE PROVIDED FOR AN EXAMPLE OF HOW TO USE IMAGEMAGICK WITH PHP. CARE SHOULD BE TAKEN WHEN ACCEPTING USER INPUT.
I TAKE NO RESPONSABILTY FOR ANY PROBLEMS THAT MAY OCCURE WHEN USING ANY OF THIS CODE.
IT IS UP TO YOU TO SECURE THE CODE AND VALIDATE USER INPUT.
exec("convert $input14 -pointsize 50 -font Arial -fill rgba(0,0,0,0.4) -gravity center -annotate +0+0 \"Rubblewebs\" transparent_text.jpg ");
In this case the text is transparent; the transparency is set with the last value in rgba\(0,0,0,0.4\).
If you did not want transparent text you could either use rgb\(0,0,0\) as there is no alpha transparency setting or change rgba\(0,0,0,0.4\) to rgba\(0,0,0,1.0\).
In linux you need to escape the rgba\(0,0,0,0.4\)