pajoye Tue May 26 13:08:59 2009 UTC
Modified files: (Branch: PHP_5_3)
/php-src/ext/gd/libgd gd.h gd_filter.c
Log:
- expose gdImageGetTrueColorPixel in bundled lib
- fix bundled lib build
http://cvs.php.net/viewvc.cgi/php-src/ext/gd/libgd/gd.h?r1=1.26.2.3.2.6.2.3&r2=1.26.2.3.2.6.2.4&diff_format=u
Index: php-src/ext/gd/libgd/gd.h
diff -u php-src/ext/gd/libgd/gd.h:1.26.2.3.2.6.2.3
php-src/ext/gd/libgd/gd.h:1.26.2.3.2.6.2.4
--- php-src/ext/gd/libgd/gd.h:1.26.2.3.2.6.2.3 Tue Apr 7 13:01:27 2009
+++ php-src/ext/gd/libgd/gd.h Tue May 26 13:08:59 2009
@@ -293,6 +293,7 @@
void gdImageSetPixel(gdImagePtr im, int x, int y, int color);
+int gdImageGetTrueColorPixel (gdImagePtr im, int x, int y);
int gdImageGetPixel(gdImagePtr im, int x, int y);
void gdImageAABlend(gdImagePtr im);
http://cvs.php.net/viewvc.cgi/php-src/ext/gd/libgd/gd_filter.c?r1=1.1.2.1&r2=1.1.2.2&diff_format=u
Index: php-src/ext/gd/libgd/gd_filter.c
diff -u php-src/ext/gd/libgd/gd_filter.c:1.1.2.1
php-src/ext/gd/libgd/gd_filter.c:1.1.2.2
--- php-src/ext/gd/libgd/gd_filter.c:1.1.2.1 Tue May 26 12:50:40 2009
+++ php-src/ext/gd/libgd/gd_filter.c Tue May 26 13:08:59 2009
@@ -5,13 +5,12 @@
#endif
#include "gd_intern.h"
+
/* Filters function added on 2003/12
- * by Pierre-Alain Joye ([email protected])
+ * by Pierre-Alain Joye ([email protected])
**/
/* Begin filters function */
-#ifndef HAVE_GET_TRUE_COLOR
#define
GET_PIXEL_FUNCTION(src)(src->trueColor?gdImageGetTrueColorPixel:gdImageGetPixel)
-#endif
/* invert src image */
int gdImageNegate(gdImagePtr src)
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php