[PHP] PHP and GD

2004-03-26 Thread Patrik Fomin
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

[PHP] PHP and GD

2004-03-24 Thread Patrik Fomin
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

Re: [PHP] php and gd

2003-07-01 Thread Jason Sheets
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

[PHP] php and gd

2003-07-01 Thread David Miller
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

Re: [PHP] PHP and GD

2001-09-24 Thread Ben . Edwards
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(

[PHP] PHP and GD

2001-09-24 Thread J. Anderson Scarbrough
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

RE: [PHP] PHP and GD on a Redhat linux box

2001-05-15 Thread scott [gts]
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

RE: [PHP] PHP and GD on a Redhat linux box

2001-05-15 Thread Brandon Orther
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

[PHP] PHP and GD on a Redhat linux box

2001-05-15 Thread scott [gts]
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