what's wrong with this command??
| From: | Brian Aitken | Date: | Thu, 08 Nov 2001 09:59:43 +0000 |
| Subject: | what's wrong with this command?? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-73852@lists.php.net to get a copy of this message | ||
Arghh!! This is really messing with my head!
I've got Imagemagick working and 'convert' works perfectly through PHP to
change TIFs to JPGs but when I try to use 'mogrify' nothing happpens. Well,
I don't get an error message or a bigger image, I just get a small
incomprehensible file named 'gladius.mgk' appearing in my images directory.
I've tried running the exact same command directly through the DOS prompt on
the server and it works fine, so I'm guessing it's a problem at the PHP end.
Does anyone have any idea why this isn't working? Here's the command:
$output = system("./im/mogrify -geometry 200% ./images/gladius.jpg");
seeya
Brian