Re: PHP Imagemagick

From: Date: Tue, 30 Sep 2003 18:56:45 +0000
Subject: Re: PHP Imagemagick
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-164442@lists.php.net to get a copy of this message
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" <c_metzke@wn.com.au> wrote in message news:20030930101431.19878.qmail@pb1.pair.com... > 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?

« previous php.general (#164442) next »