png files loosing color depth

From: Date: Tue, 23 Jan 2001 16:35:29 +0000
Subject: png files loosing color depth
Groups: php.general 
Request: Send a blank email to php-general+get-36212@lists.php.net to get a copy of this message
Hey - I'm using PHP 4.0.4pl1 w/ Apache 1.3.14 on Solaris 2.6. PHP was compiled with GD (1.8.3), jpeg (6b), png (1.0.8), and freetype (1.3.1) I'm trying to overlay text on a existing png graphic, which works, but the color depth seems to be getting reduced. Page info in Netscape shows that the button is a 16bit "TrueColor" image, but the resulting image is much lower in visual colordepth (if not actual color depth). Check out.. http://www.umich.edu/~liamr/button.png vs http://www.umich.edu/~liamr/blue.png (the png it uses to generate that file) Any ideas on why it does this or how to fix it? Liam

« previous php.general (#36212) next »