ID:               15360
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Open
 Bug Type:         GD related
 Operating System: Linux
-PHP Version:      4.0.6
+PHP Version:      4.0.6 / 4.1.1
 New Comment:

I Have test the script whith a 4.1.1 and NT5.0 my GD libinfo

GD Support enabled 
GD Version 1.6.2 or higher 
FreeType Support enabled 
FreeType Linkage with TTF library 
JPG Support enabled 
PNG Support enabled 
WBMP Support enabled 

the script is here ....
<?
// File open
$im = imagecreatefrompng("test.png"); /* Attempt to open */

// send image
Header("Content-type: image/jpeg");
ImagePNG($im);           //Send pic to browser
?>


Previous Comments:
------------------------------------------------------------------------

[2002-02-04 16:33:13] [EMAIL PROTECTED]

Sorry i thinkit is a 4.1,1 but here the current Infos

PHP Version 4.0.6
Linux sa-webpack.one-2-one.net 2.2.19-6.2.1 #1 Mon Apr 9 22:24:58 EDT
2001 i586 unknown
 './configure' '--with-apxs=/usr/local/apache/bin/apxs'
'--with-mysql=/usr/local/phplibs/' '--with-gd=/usr/local/phplibs/'
'--enable-track-vars' '--with-jpeg-dir=/usr/local/phplibs/lib'
'--enable-versioning' '--with-imap=/usr/local/phplibs/' '--enable-ftp'
'--with-mcrypt=/usr/local/phplibs/' '--with-zlib=/usr/local/phplibs/'
'--with-swf=/usr/local/phplibs/' '--with-xml'
'--with-recode=/usr/local/phplibs/'
'--with-config-file-path=/usr/local/phplibs/ini/'
'--with-gdbm=/usr/local/phplibs/' '--with-ndbm=/usr/local/phplibs/'
'--enable-dbase' '--enable-bcmath' '--enable-memory-limit'
'--enable-trans-sid' '--with-ttf=/usr/local/phplibs/'
'--enable-gd-native-ttf' '--with-png-dir=/usr/local/phplibs/'

GD Support enabled 
GD Version 1.6.2 or higher 
FreeType Support enabled 
FreeType Linkage with TTF library 
JPG Support enabled 
PNG Support enabled 
WBMP Support enabled 

i think thats all what u need

thankx 


dirk schaeck

------------------------------------------------------------------------

[2002-02-04 10:41:01] [EMAIL PROTECTED]

Which version of GD are you using?
If your PNG contains 'true colors', GD 1.x can't handle them.

------------------------------------------------------------------------

[2002-02-03 16:19:53] [EMAIL PROTECTED]

Hello,

i get a png image whith more than 16 color whith the function
ImageCreateFromPNG and i send it to the Browser.

If i compare the color from the original and from the Picture on
browser i see the first 16 color correctly but the next colors behind
are a repeating colorset. ( i think this are the default color from the
gd lib).

thanks 


dirk

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=15360&edit=1

Reply via email to