im_org 137 ext/gd/gd.c static void _php_image_bw_convert(gdImagePtr im_org, gdIOCtx *out, int threshold); im_org 3939 ext/gd/gd.c static void _php_image_bw_convert(gdImagePtr im_org, gdIOCtx *out, int threshold) im_org 3944 ext/gd/gd.c int dest_height = gdImageSY(im_org); im_org 3945 ext/gd/gd.c int dest_width = gdImageSX(im_org); im_org 3966 ext/gd/gd.c if (im_org->trueColor) { im_org 3967 ext/gd/gd.c gdImageTrueColorToPalette(im_org, 1, 256); im_org 3972 ext/gd/gd.c color_org = gdImageGetPixel(im_org, x, y); im_org 3973 ext/gd/gd.c median = (im_org->red[color_org] + im_org->green[color_org] + im_org->blue[color_org]) / 3; im_org 3994 ext/gd/gd.c gdImagePtr im_org, im_dest, im_tmp; im_org 4048 ext/gd/gd.c im_org = gdImageCreateFromGif(org); im_org 4049 ext/gd/gd.c if (im_org == NULL) { im_org 4058 ext/gd/gd.c im_org = gdImageCreateFromJpegEx(org, ignore_warning); im_org 4059 ext/gd/gd.c if (im_org == NULL) { im_org 4068 ext/gd/gd.c im_org = gdImageCreateFromPng(org); im_org 4069 ext/gd/gd.c if (im_org == NULL) { im_org 4082 ext/gd/gd.c org_width = gdImageSX (im_org); im_org 4083 ext/gd/gd.c org_height = gdImageSY (im_org); im_org 4115 ext/gd/gd.c gdImageCopyResized (im_tmp, im_org, 0, 0, 0, 0, dest_width, dest_height, org_width, org_height); im_org 4117 ext/gd/gd.c gdImageDestroy(im_org);