Re: ImagePNG problem
| From: | Adrian Ciutureanu | Date: | Tue, 21 Aug 2001 07:01:42 +0000 |
| Subject: | Re: ImagePNG problem | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-63636@lists.php.net to get a copy of this message | ||
Hi Andy,
I don't need to use ImageCreateTrueColor() (or do I?). I just want to read a
PNG24, write a text to it and save. I don't have GD 2.0.1. And again: I can
read PNG24, but when I save it with ImagePNG($fileName), GD writes a PNG8
:-(
adu
"Andrew Chase" <andrew.chase@valleypres.org> wrote
> Make sure you have GD 2.0.1 and PHP 4.0.6 or later for creating true-color
> PNGs, per the manual:
>
> http://php.net/manual/en/function.imagecreatetruecolor.php
>
> -Andy
>
>
> > -----Original Message-----
> > From: Adrian Ciutureanu [mailto:Adrian.Ciutureanu@softure.com]
> >
> > Is there any way to tell ImagePNG() to create PNG24 images instead of
PNG8
> > images? Seems that ImageCreateFromPNG() can read PNG24, but ImagePNG()
> > writes only PNG8.