9 }
else if (block_size == 1) {
14 for (y = 0; y < im->
sy; y += block_size) {
15 for (x = 0; x < im->
sx; x += block_size) {
24 for (y = 0; y < im->
sy; y += block_size) {
25 for (x = 0; x < im->
sx; x += block_size) {
30 a = r = g = b = c =
total = 0;
32 for (cy = 0; cy < block_size; cy++) {
33 for (cx = 0; cx < block_size; cx++) {
#define gdImageBlue(im, c)
#define gdImageGreen(im, c)
#define gdImageAlpha(im, c)
#define gdImageBoundsSafe(im, x, y)
#define gdImageRed(im, c)
int gdImagePixelate(gdImagePtr im, int block_size, const unsigned int mode)
void gdImageFilledRectangle(gdImagePtr im, int x1, int y1, int x2, int y2, int color)
int gdImageColorResolveAlpha(gdImagePtr im, int r, int g, int b, int a)
int gdImageGetPixel(gdImagePtr im, int x, int y)