Ok i finally got the script going :) If anyones curious heres the code.
exec($path_imagemagick."convert $path_picture -crop $height"."x$width+$x+$y
$path_picture2");

"Cameron Metzke" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> i have a script where people upload an image it is then renamed and is
> supposed to be cripped according to the values they submit but i cant seem
> to get it to crop it uploads and is renamed fine though. also i wish to
use
> a static name so when another picture is uploaded the old one is
overwritten
> that is why the input path and output path is the same.
> -------------Code----------
> exec($path_imagemagick."convert -crop 0x100+0+0 $imagepath.$filename
> $imagepath.$filename");
> ---------End Code----------
> any ideas why this wont work?

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

Reply via email to