After uploading the picture, so the program should first upload the picture,
then
open it, cut it in like 6 pieces and save all the pieces and remove the
original uploaded file.
regards
patrick
"- Edwin -" <[EMAIL PROTECTED]> skrev i meddelandet
news:[EMAIL PROTECTED]
> Hi,
>
> On Thu, 25 Mar 2004
Hi,
Is there anyway to split a picture with PHP (GD) ?
Im uploading lots of pictures and i want to split them in 6 pieces
to make em load faster, is there anyway to do this in PHP ?
regards
patrick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsu
PHP 4.3.2 has GD bundled with it, if you compile it from source do
--with-gd to use the bundled library. It sounds like you need to
install GD2, you can find it on freshmeat.net or probably find an RPM
for your distro somewhere.
If you have libjpeg and libpng I've had no problems using the bun
Hello
I hope someone can help me.
I use my local machine to develop and then upload to whatever site.
I have one site that does some image resizing, uses a call to imagecreatetruecolor.
Works fine on the host and used to work fine on my local machine. But now that I
come back to make some chan
That directory is VERY close to root. Is that what you intended?
"J. Anderson Scarbrough" <[EMAIL PROTECTED]> on 24/09/2001 15:59:04
To: [EMAIL PROTECTED]
cc:
Subject: [PHP] PHP and GD
I am trying to create PNG images on the fly
using the following code.
if(
I am trying to create PNG images on the fly
using the following code.
if(file_exists($key)) {
$diff = time() - filemtime($key);
if($diff >= 600) {
unlink($key);
}
}
$im = ImageCreateFromPNG($value);
$isCreated = imagePNG($im, $key, '80'); //error occurs here
I recieve the following error o
day, May 15, 2001 6:00 PM
> To: PHP User Group
> Subject: RE: [PHP] PHP and GD on a Redhat linux box
>
>
> I do not believe this is the reason that you are having problems. I have
> compiled GD on many Redhat machines without X11
>
> Brandon
>
> -Original Message
I do not believe this is the reason that you are having problems. I have
compiled GD on many Redhat machines without X11
Brandon
-Original Message-
From: scott [gts] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 15, 2001 2:44 PM
To: php
Subject: [PHP] PHP and GD on a Redhat linux box
i had compile problems for PHP + GD on a linux box.
my best guess is that GD requires X11 support to
work properly, and in turn blows up the PHP
compile when GD cannot find the 'X11' library
since the box is a server, bells and whistles like
Xwindows are not installed
figured i'd sha
9 matches
Mail list logo