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);
#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)