> I have actually changed my code to this for debug purposes
>
> system('convert -geometry 200 x 200 image.JPG theThumb.gif', $retval)
>
> and if I cut out string between the single quotes and just run it at a
> command prompt, it works great....when I run this php script, I get
> syntax errors....what is wrong?

Perhaps convert is not in your path?

Also, I'm not sure that the -geometry argument is going to behave how you
expect - typically, geometry is expressed as "WxH", not "W x H", in
command-line arguments to imagemagick. In the former case, you will set
the size of your output image to W width and H height. In the latter case,
I believe that the 'x H' is ignored, and you implicitly set the size of
your output image to W width and W height. Big difference for any aspect
ratio besides 1:1.

---------------------------------------------------------------------
michal migurski- contact info and pgp key:
sf/ca            http://mike.teczno.com/contact.html

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to