Re: PHP + LIBPNG how?
| From: | heinisch at creaction dot de | Date: | Tue, 08 May 2001 14:58:18 +0000 |
| Subject: | Re: PHP + LIBPNG how? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-51905@lists.php.net to get a copy of this message | ||
At 08.05.01 15:14, you wrote:
I have compiled PHP with this options, ./configure --with-zlib=/usr/local/src/zlib --with-png=/usr/local/src/libpng --with-gd=/usr/local/src/gd --with-pgsql=/usr/local/pgsql --with-apache=../ apache --enable-track-varsmmh - sounds good, did you test the php-installation with <? phpinfo() ?> Try this: <?php header ("content-type: image/png"); $im = ImageCreateFromPng("test.png"); ImagePng($im); ?> supposing you have a non white test.php, you´ll see your picture HTH Oliver