Bug #15360 Updated: The Function ImageCreateFromPNG lose some colors
| From: | dirk dot schaeck at system-interface dot de | Date: | Mon, 04 Feb 2002 21:33:14 +0000 |
| Subject: | Bug #15360 Updated: The Function ImageCreateFromPNG lose some colors | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-79143@lists.php.net to get a copy of this message | ||
ID: 15360
Updated by: dirk.schaeck@system-interface.de
Reported By: dirk.schaeck@system-interface.de
-Status: Feedback
+Status: Open
Bug Type: GD related
Operating System: Linux
PHP Version: 4.1.1
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[2002-02-04 10:41:01] sander@php.net
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] dirk.schaeck@system-interface.de
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