ImageMagick Lable generation problem!!!

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
debasys

ImageMagick Lable generation problem!!!

Post 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.
Post Reply