Perhaps your GD library was not built with PNG support?
On Tue, 24 Jul 2001, Cary Moretti wrote:
> I've recently installed PHP-4.0.6 on my Linux server (with GD) and I
> have had no trouble using the JPEG functions but I can't seem to get my
> build to support PNG.
>
> I get the following error:
> Warning: ImagePng: No PNG support in this PHP build
>
> I've tried both GD 2.0.1 and GD 1.8.4 but I get the same result with
> both, JPEG works great but not PNG.
>
> My config looks like this:
> ./configure \
> --with-mysql=/usr/local/mysql \
> --with-apxs=/usr/local/apache/bin/apxs \
> --with-gd \
> --with-gd-dir=/usr \
> --with-jpeg-dir=/usr/local \
> --with-png-dir=/usr/local \
> --with-ttf \
> --with-zlib
>
> I've looked through all the posts from this year but no one else seems
> to have had trouble with PNG support. It seems like most people are
> having trouble with GD.
>
> Any help would be appreciated.
>
> ____________________________________
> Cary Moretti
>
> "Sure I'm paranoid but am I paranoid enough?"
>
>
>
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]