#23482 [NEW]: Wrong value returned from imageColorTransparent()
| From: | author at ninelivescomic dot com | Date: | Sun, 04 May 2003 23:24:48 +0000 |
| Subject: | #23482 [NEW]: Wrong value returned from imageColorTransparent() | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-39046@lists.php.net to get a copy of this message | ||
From: author at ninelivescomic dot com
Operating system: Linux 2.4.20
PHP version: 4.3.1
PHP Bug Type: GD related
Bug description: Wrong value returned from imageColorTransparent()
Hi, I'm using php to return the color of a 4-bit png image with binary
transparency. This code:
/* begin php code */
$imgBase= imageCreateFromPNG("20030429a.png");
print(imageColorTransparent($imgBase));
/* end php code */
prints -1, which I assume means "no transparent color". I'm sure there IS
a transparant color in the image. I've tried this with both an optimized
and non-optimized palette, same results. I'm using gd library 1.6.2, and
can send the image if that helps.
--
Edit bug report at http://bugs.php.net/?id=23482&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=23482&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=23482&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=23482&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=23482&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=23482&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=23482&r=support
Expected behavior: http://bugs.php.net/fix.php?id=23482&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=23482&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=23482&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=23482&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23482&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=23482&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=23482&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=23482&r=gnused