[PHP] GD2 - doesn't show all of source image.

2004-05-11 Thread Joe Hill
Hi All

There are two machines, one is running PHP 4.3.0 and the other PHP
4.1.2, both also have GD2. Both are running on Linux systems.
On the 4.3.0 machine, running a simple PHP script (at bottom of email,
for reference) works fine - the whole image shows, and the text is
also shown. This is what is expected.

However, on the 4.1.2 machine, only "so much" of the picture is shown.
I have tried using different pictures, and they all, depending on the
size of the JPEG image, show different amounts on the 4.1.2 machine -
but never a complete image.

It appears to me, that PHP/GD is loading only -so- many bytes of the
image on my 4.1.2 setup.
Does anyone have any ideas what might be wrong?
Joe

SCRIPT I'M USING:





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: What is the GD library and what can I do with it ?

2004-05-11 Thread Joe Hill

"Pete" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> What is the GD library ?
> How can I install it. I have PHP integrated as a module.  Judging by
the
> discussion that people have here the GD library sounds interesting.
How do I
> know if my shared host has it ?

It will be seen under a section called "gd" when you do a phpinfo()

Joe

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php