im_org 143 ext/gd/gd.c static void _php_image_bw_convert(gdImagePtr im_org, gdIOCtx *out, int threshold); im_org 4399 ext/gd/gd.c static void _php_image_bw_convert(gdImagePtr im_org, gdIOCtx *out, int threshold) im_org 4404 ext/gd/gd.c int dest_height = gdImageSY(im_org); im_org 4405 ext/gd/gd.c int dest_width = gdImageSX(im_org); im_org 4427 ext/gd/gd.c if (im_org->trueColor) { im_org 4428 ext/gd/gd.c gdImageTrueColorToPalette(im_org, 1, 256); im_org 4433 ext/gd/gd.c color_org = gdImageGetPixel(im_org, x, y); im_org 4434 ext/gd/gd.c median = (im_org->red[color_org] + im_org->green[color_org] + im_org->blue[color_org]) / 3; im_org 4455 ext/gd/gd.c gdImagePtr im_org, im_dest, im_tmp; im_org 4507 ext/gd/gd.c im_org = gdImageCreateFromGif(org); im_org 4508 ext/gd/gd.c if (im_org == NULL) { im_org 4517 ext/gd/gd.c im_org = gdImageCreateFromJpegEx(org, ignore_warning); im_org 4518 ext/gd/gd.c if (im_org == NULL) { im_org 4527 ext/gd/gd.c im_org = gdImageCreateFromPng(org); im_org 4528 ext/gd/gd.c if (im_org == NULL) { im_org 4541 ext/gd/gd.c org_width = gdImageSX (im_org); im_org 4542 ext/gd/gd.c org_height = gdImageSY (im_org); im_org 4574 ext/gd/gd.c gdImageCopyResized (im_tmp, im_org, 0, 0, 0, 0, dest_width, dest_height, org_width, org_height); im_org 4576 ext/gd/gd.c gdImageDestroy(im_org);