pajoye Mon Mar 13 21:56:38 2006 UTC
Added files: (Branch: PHP_5_1)
/php-src/ext/gd/tests bug36697.phpt
Modified files:
/php-src NEWS
/php-src/ext/gd/libgd gd_gif_out.c
Log:
- #36697, Transparency is lost when using imagecreatetruecolor
http://cvs.php.net/viewcvs.cgi/php-src/NEWS?r1=1.2027.2.457&r2=1.2027.2.458&diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.457 php-src/NEWS:1.2027.2.458
--- php-src/NEWS:1.2027.2.457 Mon Mar 13 14:37:10 2006
+++ php-src/NEWS Mon Mar 13 21:56:38 2006
@@ -5,6 +5,8 @@
- Removed the E_STRICT deprecation notice from "var". (Ilia)
- Fixed debug_zval_dump() to support private and protected members. (Dmitry)
- Fixed bug #36629 (SoapServer::handle() exits on SOAP faults). (Dmitry)
+- Fixed bug #36697 (Transparency is lost when using imagecreatetruecolor).
+ (Pierre)
09 Mar 2006, PHP 5.1.3RC1
- Updated PCRE to version 6.6. (Andrei)
http://cvs.php.net/viewcvs.cgi/php-src/ext/gd/libgd/gd_gif_out.c?r1=1.1&r2=1.1.6.1&diff_format=u
Index: php-src/ext/gd/libgd/gd_gif_out.c
diff -u php-src/ext/gd/libgd/gd_gif_out.c:1.1
php-src/ext/gd/libgd/gd_gif_out.c:1.1.6.1
--- php-src/ext/gd/libgd/gd_gif_out.c:1.1 Thu Jul 22 22:38:59 2004
+++ php-src/ext/gd/libgd/gd_gif_out.c Mon Mar 13 21:56:38 2006
@@ -133,7 +133,7 @@
BitsPerPixel = colorstobpp(tim->colorsTotal);
/* All set, let's do it. */
GIFEncode(
- out, tim->sx, tim->sy, interlace, 0, transparent, BitsPerPixel,
+ out, tim->sx, tim->sy, tim->interlace, 0, tim->transparent,
BitsPerPixel,
tim->red, tim->green, tim->blue, tim);
if (pim) {
/* Destroy palette based temporary image. */
http://cvs.php.net/viewcvs.cgi/php-src/ext/gd/tests/bug36697.phpt?view=markup&rev=1.1
Index: php-src/ext/gd/tests/bug36697.phpt
+++ php-src/ext/gd/tests/bug36697.phpt
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php