pajoye Wed Apr 4 00:30:19 2007 UTC
Modified files: (Branch: PHP_5_2)
/php-src/ext/gd/libgd gd_topal.c
Log:
. colors allocated henceforth from the resulting image overwrite
the palette colors (sync with 2.0.34) (Rob Leslie)
http://cvs.php.net/viewvc.cgi/php-src/ext/gd/libgd/gd_topal.c?r1=1.17.2.1&r2=1.17.2.1.2.1&diff_format=u
Index: php-src/ext/gd/libgd/gd_topal.c
diff -u php-src/ext/gd/libgd/gd_topal.c:1.17.2.1
php-src/ext/gd/libgd/gd_topal.c:1.17.2.1.2.1
--- php-src/ext/gd/libgd/gd_topal.c:1.17.2.1 Sun Dec 25 19:39:53 2005
+++ php-src/ext/gd/libgd/gd_topal.c Wed Apr 4 00:30:18 2007
@@ -772,6 +772,7 @@
nim->green[icolor] = 255;
nim->blue[icolor] = 255;
}
+ nim->open[icolor] = 0;
#endif
}
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php