Rubblewebs

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.

Rotated text using annotate

Rotated text using annotate example
 
$cmd = " $input14 -pointsize 50 -font $font1 -fill rgba(0,0,0,0.4) ".
" -gravity center -annotate 40x40+0+0 \"Rubblewebs\" ";
exec("convert $cmd transparent_text_r.jpg ");
 

Back