cvs: php-src(PHP_5_3) /ext/gd/libgd gd.h gd_filter.c
| From: | Pierre-Alain Joye | Date: | Tue, 26 May 2009 13:08:59 +0000 |
| Subject: | cvs: php-src(PHP_5_3) /ext/gd/libgd gd.h gd_filter.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-58232@lists.php.net to get a copy of this message | ||
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 (pajoye@pearfr.org)
+ * by Pierre-Alain Joye (pierre@php.net)
**/
/* 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)