Im using exec command on php.
Proviouse convert command work just fine, and also draw a circle work just fine, just cant get the text to work.
error code is outputed - only 1.
first try :
Code: Select all
exec("mogrify -gravity Center -font Arial -pointsize 100 -fill black -draw \"text 0,0 'Test Text'\" {$output}",$out,$err);
Code: Select all
$cmd = " -pointsize 400 -fill black ".
"-gravity south -draw \" text 0,0 'Draw text' \" ";
exec("mogrify $cmd {$output}",$out,$err);