2012-05-03 60 views

回答

0

我结束了从PHP中调用的ImageMagick:

$command = 'printf "'.$text.'" | convert -size x'.(5*$size).' -gravity center -background "#00000000" -fill "#000000FF" -font '.$fontpath.' -pointsize '.$size.' label:@- -trim '.$imagepath; 
exec($command); 
相关问题