Page 1 of 1

ImageMagick Lable generation problem!!!

Posted: 2006-08-24T12:13:43-07:00
by debasys
Hi!

I am trying to create a label with the following command:

<?
$Name='Funtus';
$filename = 'ImageName.jpg';
$ImgName=$filename;

$command =$this->ImageMagickConvert . " -pointsize 42 -gravity Center -size 928x40 label:\"$Name \" ". $this->tempdir . $filename;

system($command, $out);
?>

It is working fine in my local machine with apache and ImageMagick 6.0. But when the script is running on godaddy server it is not working.

Other script with composit command is working well in that server with ImageMagick 6.0

<?
$i=0;
$filename =time() . "_$i.jpg";
$temp[$i++]=$filename;

$montage_command =$this->ImageMagickConvert. ' ' . $this->imagepath ." ".$this->tempdir . $ImgName ." -geometry +59+170 -composite ". $this->tempdir . $filename;

system($montage_command, $out);
?>

Can anybody tell me why the first script is not giving any output on GoDaddy server only?

Kindly advise..

Thanks in advance,
Debasys.