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
Cameron --
...and then Cameron Metzke said...
%
...
% 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
%
% 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--
Does anyone know if there are PHP specific bindings for ImageMagick out
there? If not, anyone want to work on them...
:)
Thanks,
Wes
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the
How do you mean bindings?
I've used PHP and Imagemagick.. but only from the point of view of exec
Do you mean building them into PHP functions?
- Original Message -
From: Weston Houghton [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, July 22, 2001 11:05 PM
Subject: [PHP] PHP
the point of view of exec
Do you mean building them into PHP functions?
- Original Message -
From: Weston Houghton [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, July 22, 2001 11:05 PM
Subject: [PHP] PHP Imagemagick
Does anyone know if there are PHP specific bindings
So sprach »Weston Houghton« am 2001-07-22 um 15:14:54 -0700 :
Yup, a native PHP module for ImageMagick that accesses their API. This would
allow one to actually pass parameters a bit easier and test for success or
failure more consistently, at least, I think it would...
Hmm, don't know
In PHP I try to run a shell command with the following source code:
$fotonaam = 'convert -font arial -pointsize 20 -gravity center -fill
white -draw text 5,5 VERKOCHT image.jpg image2.jpg';
exec($fotonaam);
PHP runs the program but the -draw text 5,5 VERKOCHT is not executed
(there is no
, June 28, 2001 8:01 AM
To: [EMAIL PROTECTED]
Subject: [PHP] PHP ImageMagick
In PHP I try to run a shell command with the following source code:
$fotonaam = 'convert -font arial -pointsize 20 -gravity center -fill
white -draw text 5,5 VERKOCHT image.jpg image2.jpg';
exec($fotonaam);
PHP runs
In PHP I try to run a shell command with the following source code:
$fotonaam = 'convert -font arial -pointsize 20 -gravity center -fill
white -draw text 5,5 VERKOCHT image.jpg image2.jpg';
exec($fotonaam);
PHP runs the program but the -draw text 5,5 VERKOCHT is not executed
(there is no
10 matches
Mail list logo