> % 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
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
% $imag
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 a
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...
Wes
> How do you mean bindings?
>
> I've used PHP and Imagemagick.. but only from th
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] P
Did you try the escapeshellcmd () function ? - Russ
---
Toolshed Computer Productions - Professional PHP Hosting
Hosting - Dedicated Servers - Design - Programming
http://www.toolshed51.com
-Original Message-
From: Jeffrey Barendse [mailto:[EMAIL PROTECTED]]
Sent: Thursday, J
> 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
> (t
7 matches
Mail list logo