Re[4]: [PHP] cropping an image script

2003-03-13 Thread Tom Rogers
Hi, Friday, March 14, 2003, 7:20:10 AM, you wrote: AR> I'm getting a fatal error on the following script using AR> MS Win 98 / Apache Server / PHP 4.1.1. / php_gd.dll AR> Fatal error: imagecreatetruecolor(): requires GD 2.0 or later in AR> c:\apache\htdocs\testphoto.php on line 6 AR> Is there a

Re: Re[2]: [PHP] cropping an image script

2003-03-13 Thread Anthony Ritter
I'm getting a fatal error on the following script using MS Win 98 / Apache Server / PHP 4.1.1. / php_gd.dll Fatal error: imagecreatetruecolor(): requires GD 2.0 or later in c:\apache\htdocs\testphoto.php on line 6 Is there a workaround to this function so that I can crop part of the source .jpeg?

Re[2]: [PHP] cropping an image script

2003-03-13 Thread Tom Rogers
Hi, Friday, March 14, 2003, 3:49:03 AM, you wrote: TR> Hi, TR> Friday, March 14, 2003, 2:07:28 AM, you wrote: AR>> In the following php script, the function takes the original file and crops AR>> to the destination file. AR>> I've ran the script using a .png file and a .jpg file. AR>> The .png

Re: [PHP] cropping an image script

2003-03-13 Thread Tom Rogers
Hi, Friday, March 14, 2003, 2:07:28 AM, you wrote: AR> In the following php script, the function takes the original file and crops AR> to the destination file. AR> I've ran the script using a .png file and a .jpg file. AR> The .png works fine whereas the .jpeg file returns only part of the image

[PHP] cropping an image script

2003-03-13 Thread Anthony Ritter
In the following php script, the function takes the original file and crops to the destination file. I've ran the script using a .png file and a .jpg file. The .png works fine whereas the .jpeg file returns only part of the image along with a blue rectangle. For instance - where the original ima