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" <[EMAIL PROTECTED]> 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:[EMAIL PROTECTED]]
> >
> > 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.



-- 
PHP General 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]

Reply via email to