Posted: 2007-01-28T03:44:05-07:00
It must be the way the server is setup or the version of ImageMagick used as it worked OK for me.
I would try:
Sometimes I find that ImageMagick does not like paths etc. and it works better putting paths and text into a variable first;
I would try:
Code: Select all
exec("convert -size 500x500 old.jpg -thumbnail 150x150 -gravity South -bordercolor black -border 1x1 -background Black -splice 0x15 -fill white -draw \" text 0,0 '150x150 23kb' \" new.jpg");
Code: Select all
$text = "150x150 23kb";
exec("convert -size 500x500 old.jpg -thumbnail 150x150 -gravity South -bordercolor black -border 1x1 -background Black -splice 0x15 -fill white -draw \" text 0,0 '$text' \" new.jpg");