Lines Matching refs:im
121 int gdImageColorClosestHWB(gdImagePtr im, int r, int g, int b);
179 ZEND_ARG_INFO(0, im)
189 ZEND_ARG_INFO(0, im)
193 ZEND_ARG_INFO(0, im)
204 ZEND_ARG_INFO(0, im)
209 ZEND_ARG_INFO(0, im)
218 ZEND_ARG_INFO(0, im)
230 ZEND_ARG_INFO(0, im)
235 ZEND_ARG_INFO(0, im)
241 ZEND_ARG_INFO(0, im)
247 ZEND_ARG_INFO(0, im)
255 ZEND_ARG_INFO(0, im)
263 ZEND_ARG_INFO(0, im)
271 ZEND_ARG_INFO(0, im)
302 ZEND_ARG_INFO(0, im)
310 ZEND_ARG_INFO(0, im)
317 ZEND_ARG_INFO(0, im)
398 ZEND_ARG_INFO(0, im)
406 ZEND_ARG_INFO(0, im)
413 ZEND_ARG_INFO(0, im)
420 ZEND_ARG_INFO(0, im)
427 ZEND_ARG_INFO(0, im)
435 ZEND_ARG_INFO(0, im)
442 ZEND_ARG_INFO(0, im)
448 ZEND_ARG_INFO(0, im)
456 ZEND_ARG_INFO(0, im)
460 ZEND_ARG_INFO(0, im)
474 ZEND_ARG_INFO(0, im)
480 ZEND_ARG_INFO(0, im)
488 ZEND_ARG_INFO(0, im)
496 ZEND_ARG_INFO(0, im)
501 ZEND_ARG_INFO(0, im)
508 ZEND_ARG_INFO(0, im)
515 ZEND_ARG_INFO(0, im)
524 ZEND_ARG_INFO(0, im)
529 ZEND_ARG_INFO(0, im)
535 ZEND_ARG_INFO(0, im)
542 ZEND_ARG_INFO(0, im)
551 ZEND_ARG_INFO(0, im)
560 ZEND_ARG_INFO(0, im)
569 ZEND_ARG_INFO(0, im)
578 ZEND_ARG_INFO(0, im)
589 ZEND_ARG_INFO(0, im)
598 ZEND_ARG_INFO(0, im)
606 ZEND_ARG_INFO(0, im)
613 ZEND_ARG_INFO(0, im)
617 ZEND_ARG_INFO(0, im)
622 ZEND_ARG_INFO(0, im)
627 ZEND_ARG_INFO(0, im)
634 ZEND_ARG_INFO(0, im)
649 ZEND_ARG_INFO(0, im)
658 ZEND_ARG_INFO(0, im)
667 ZEND_ARG_INFO(0, im)
676 ZEND_ARG_INFO(0, im)
735 ZEND_ARG_INFO(0, im)
739 ZEND_ARG_INFO(0, im)
753 ZEND_ARG_INFO(0, im)
773 ZEND_ARG_INFO(0, im)
815 ZEND_ARG_INFO(0, im)
841 ZEND_ARG_INFO(0, im)
868 ZEND_ARG_INFO(0, im)
877 ZEND_ARG_INFO(0, im)
885 ZEND_ARG_INFO(0, im)
1443 int gdImageColorResolve(gdImagePtr im, int r, int g, int b) in gdImageColorResolve() argument
1451 for (c = 0; c < im->colorsTotal; c++) { in gdImageColorResolve()
1452 if (im->open[c]) { in gdImageColorResolve()
1456 rd = (long) (im->red [c] - r); in gdImageColorResolve()
1457 gd = (long) (im->green[c] - g); in gdImageColorResolve()
1458 bd = (long) (im->blue [c] - b); in gdImageColorResolve()
1470 op = im->colorsTotal; in gdImageColorResolve()
1474 im->colorsTotal++; in gdImageColorResolve()
1476 im->red [op] = r; in gdImageColorResolve()
1477 im->green[op] = g; in gdImageColorResolve()
1478 im->blue [op] = b; in gdImageColorResolve()
1479 im->open [op] = 0; in gdImageColorResolve()
1602 gdImagePtr im; in PHP_FUNCTION() local
1611 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in PHP_FUNCTION()
1630 gdImageSetStyle(im, stylearr, index); in PHP_FUNCTION()
1643 gdImagePtr im; in PHP_FUNCTION() local
1654 im = gdImageCreateTrueColor(x_size, y_size); in PHP_FUNCTION()
1656 if (!im) { in PHP_FUNCTION()
1660 ZEND_REGISTER_RESOURCE(return_value, im, le_gd); in PHP_FUNCTION()
1669 gdImagePtr im; in PHP_FUNCTION() local
1675 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in PHP_FUNCTION()
1677 RETURN_BOOL(im->trueColor); in PHP_FUNCTION()
1688 gdImagePtr im; in PHP_FUNCTION() local
1694 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in PHP_FUNCTION()
1700 gdImageTrueColorToPalette(im, dither, ncolors); in PHP_FUNCTION()
1751 gdImagePtr im; in PHP_FUNCTION() local
1757 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in PHP_FUNCTION()
1759 gdImageSetThickness(im, thick); in PHP_FUNCTION()
1771 gdImagePtr im; in PHP_FUNCTION() local
1777 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in PHP_FUNCTION()
1779 gdImageFilledEllipse(im, cx, cy, w, h, color); in PHP_FUNCTION()
1791 gdImagePtr im; in PHP_FUNCTION() local
1798 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in PHP_FUNCTION()
1810 gdImageFilledArc(im, cx, cy, w, h, st, e, col, style); in PHP_FUNCTION()
1822 gdImagePtr im; in PHP_FUNCTION() local
1828 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in PHP_FUNCTION()
1829 gdImageAlphaBlending(im, blend); in PHP_FUNCTION()
1841 gdImagePtr im; in PHP_FUNCTION() local
1847 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in PHP_FUNCTION()
1848 gdImageSaveAlpha(im, save); in PHP_FUNCTION()
1861 gdImagePtr im; in PHP_FUNCTION() local
1867 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in PHP_FUNCTION()
1868 gdImageAlphaBlending(im, effect); in PHP_FUNCTION()
1881 gdImagePtr im; in PHP_FUNCTION() local
1888 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in PHP_FUNCTION()
1889 ct = gdImageColorAllocateAlpha(im, red, green, blue, alpha); in PHP_FUNCTION()
1903 gdImagePtr im; in PHP_FUNCTION() local
1909 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in PHP_FUNCTION()
1911 RETURN_LONG(gdImageColorResolveAlpha(im, red, green, blue, alpha)); in PHP_FUNCTION()
1921 gdImagePtr im; in PHP_FUNCTION() local
1927 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in PHP_FUNCTION()
1929 RETURN_LONG(gdImageColorClosestAlpha(im, red, green, blue, alpha)); in PHP_FUNCTION()
1939 gdImagePtr im; in PHP_FUNCTION() local
1945 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in PHP_FUNCTION()
1947 RETURN_LONG(gdImageColorExactAlpha(im, red, green, blue, alpha)); in PHP_FUNCTION()
2000 gdImagePtr im; in PHP_FUNCTION() local
2047 im = gdImageCreateTrueColor(Width, Height); in PHP_FUNCTION()
2048 if (im) { in PHP_FUNCTION()
2053 gdImageSetPixel(im, x, y, gdTrueColor(GetRValue(c), GetGValue(c), GetBValue(c))); in PHP_FUNCTION()
2064 if (!im) { in PHP_FUNCTION()
2067 ZEND_REGISTER_RESOURCE(return_value, im, le_gd); in PHP_FUNCTION()
2085 gdImagePtr im; in PHP_FUNCTION() local
2107 im = gdImageCreateTrueColor(Width, Height); in PHP_FUNCTION()
2108 if (im) { in PHP_FUNCTION()
2113 gdImageSetPixel(im, x, y, gdTrueColor(GetRValue(c), GetGValue(c), GetBValue(c))); in PHP_FUNCTION()
2123 if (!im) { in PHP_FUNCTION()
2126 ZEND_REGISTER_RESOURCE(return_value, im, le_gd); in PHP_FUNCTION()
2164 gdImagePtr im, tile; in PHP_FUNCTION() local
2170 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in PHP_FUNCTION()
2173 gdImageSetTile(im, tile); in PHP_FUNCTION()
2186 gdImagePtr im, tile; in PHP_FUNCTION() local
2192 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in PHP_FUNCTION()
2195 gdImageSetBrush(im, tile); in PHP_FUNCTION()
2207 gdImagePtr im; in PHP_FUNCTION() local
2218 im = gdImageCreate(x_size, y_size); in PHP_FUNCTION()
2220 if (!im) { in PHP_FUNCTION()
2224 ZEND_REGISTER_RESOURCE(return_value, im, le_gd); in PHP_FUNCTION()
2313 gdImagePtr im; in _php_image_create_from_string() local
2322 im = (*ioctx_func_p)(io_ctx); in _php_image_create_from_string()
2323 if (!im) { in _php_image_create_from_string()
2339 return im; in _php_image_create_from_string()
2348 gdImagePtr im; in PHP_FUNCTION() local
2369 im = _php_image_create_from_string(data, "JPEG", gdImageCreateFromJpegCtx TSRMLS_CC); in PHP_FUNCTION()
2378 im = _php_image_create_from_string(data, "PNG", gdImageCreateFromPngCtx TSRMLS_CC); in PHP_FUNCTION()
2387 im = _php_image_create_from_string(data, "GIF", gdImageCreateFromGifCtx TSRMLS_CC); in PHP_FUNCTION()
2396 im = _php_image_create_from_string(data, "WBMP", gdImageCreateFromWBMPCtx TSRMLS_CC); in PHP_FUNCTION()
2405 im = _php_image_create_from_string(data, "GD2", gdImageCreateFromGd2Ctx TSRMLS_CC); in PHP_FUNCTION()
2417 if (!im) { in PHP_FUNCTION()
2422 ZEND_REGISTER_RESOURCE(return_value, im, le_gd); in PHP_FUNCTION()
2434 gdImagePtr im = NULL; in _php_image_create_from() local
2473 im = (*ioctx_func_p)(buff_size, buff); in _php_image_create_from()
2474 if (!im) { in _php_image_create_from()
2508 im = (*ioctx_func_p)(io_ctx, srcx, srcy, width, height); in _php_image_create_from()
2510 im = (*ioctx_func_p)(io_ctx); in _php_image_create_from()
2527 if (!im && fp) { in _php_image_create_from()
2530 im = (*func_p)(fp, srcx, srcy, width, height); in _php_image_create_from()
2534 im = gdImageCreateFromXpm(file); in _php_image_create_from()
2542 im = gdImageCreateFromJpeg(fp, ignore_warning); in _php_image_create_from()
2544 im = gdImageCreateFromJpeg(fp); in _php_image_create_from()
2550 im = (*func_p)(fp); in _php_image_create_from()
2558 if (im) { in _php_image_create_from()
2559 ZEND_REGISTER_RESOURCE(return_value, im, le_gd); in _php_image_create_from()
2675 gdImagePtr im; in _php_image_output() local
2689 ZEND_FETCH_RESOURCE(im, gdImagePtr, &imgind, -1, "Image", le_gd); in _php_image_output()
2719 gdImageWBMP(im, q, fp); in _php_image_output()
2723 (*func_p)(im, fp, q); in _php_image_output()
2726 for (i = 0; i < gdImageColorsTotal(im); i++) { in _php_image_output()
2727 if (gdImageRed(im, i) == 0) break; in _php_image_output()
2729 (*func_p)(im, i, fp); in _php_image_output()
2732 if (im->trueColor){ in _php_image_output()
2733 gdImageTrueColorToPalette(im,1,256); in _php_image_output()
2735 (*func_p)(im, fp); in _php_image_output()
2742 (*func_p)(im, fp, q, t); in _php_image_output()
2749 (*func_p)(im, fp, q, t); in _php_image_output()
2775 gdImageWBMP(im, q, tmp); in _php_image_output()
2779 (*func_p)(im, tmp, q); in _php_image_output()
2782 for (i = 0; i < gdImageColorsTotal(im); i++) { in _php_image_output()
2783 if (gdImageRed(im, i) == 0) { in _php_image_output()
2787 (*func_p)(im, q, tmp); in _php_image_output()
2790 if (im->trueColor) { in _php_image_output()
2791 gdImageTrueColorToPalette(im,1,256); in _php_image_output()
2793 (*func_p)(im, tmp); in _php_image_output()
2800 (*func_p)(im, tmp, q, t); in _php_image_output()
2804 (*func_p)(im, tmp); in _php_image_output()
2913 gdImagePtr im; in PHP_FUNCTION() local
2919 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in PHP_FUNCTION()
2934 gdImagePtr im; in PHP_FUNCTION() local
2941 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in PHP_FUNCTION()
2943 ct = gdImageColorAllocate(im, red, green, blue); in PHP_FUNCTION()
2977 gdImagePtr im; in PHP_FUNCTION() local
2983 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in PHP_FUNCTION()
2985 if (gdImageTrueColor(im)) { in PHP_FUNCTION()
2986 if (im->tpixels && gdImageBoundsSafe(im, x, y)) { in PHP_FUNCTION()
2987 RETURN_LONG(gdImageTrueColorPixel(im, x, y)); in PHP_FUNCTION()
2993 if (im->pixels && gdImageBoundsSafe(im, x, y)) { in PHP_FUNCTION()
2994 RETURN_LONG(im->pixels[y][x]); in PHP_FUNCTION()
3009 gdImagePtr im; in PHP_FUNCTION() local
3015 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in PHP_FUNCTION()
3017 RETURN_LONG(gdImageColorClosest(im, red, green, blue)); in PHP_FUNCTION()
3028 gdImagePtr im; in PHP_FUNCTION() local
3034 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in PHP_FUNCTION()
3036 RETURN_LONG(gdImageColorClosestHWB(im, red, green, blue)); in PHP_FUNCTION()
3048 gdImagePtr im; in PHP_FUNCTION() local
3054 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in PHP_FUNCTION()
3057 if (gdImageTrueColor(im)) { in PHP_FUNCTION()
3063 if (col >= 0 && col < gdImageColorsTotal(im)) { in PHP_FUNCTION()
3064 gdImageColorDeallocate(im, col); in PHP_FUNCTION()
3079 gdImagePtr im; in PHP_FUNCTION() local
3085 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in PHP_FUNCTION()
3087 RETURN_LONG(gdImageColorResolve(im, red, green, blue)); in PHP_FUNCTION()
3097 gdImagePtr im; in PHP_FUNCTION() local
3103 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in PHP_FUNCTION()
3105 RETURN_LONG(gdImageColorExact(im, red, green, blue)); in PHP_FUNCTION()
3116 gdImagePtr im; in PHP_FUNCTION() local
3122 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in PHP_FUNCTION()
3126 if (col >= 0 && col < gdImageColorsTotal(im)) { in PHP_FUNCTION()
3127 im->red[col] = red; in PHP_FUNCTION()
3128 im->green[col] = green; in PHP_FUNCTION()
3129 im->blue[col] = blue; in PHP_FUNCTION()
3130 im->alpha[col] = alpha; in PHP_FUNCTION()
3144 gdImagePtr im; in PHP_FUNCTION() local
3150 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in PHP_FUNCTION()
3154 …if ((col >= 0 && gdImageTrueColor(im)) || (!gdImageTrueColor(im) && col >= 0 && col < gdImageColor… in PHP_FUNCTION()
3157 add_assoc_long(return_value,"red", gdImageRed(im,col)); in PHP_FUNCTION()
3158 add_assoc_long(return_value,"green", gdImageGreen(im,col)); in PHP_FUNCTION()
3159 add_assoc_long(return_value,"blue", gdImageBlue(im,col)); in PHP_FUNCTION()
3160 add_assoc_long(return_value,"alpha", gdImageAlpha(im,col)); in PHP_FUNCTION()
3173 gdImagePtr im; in PHP_FUNCTION() local
3181 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in PHP_FUNCTION()
3183 if (gdImageTrueColor(im)) { in PHP_FUNCTION()
3186 for (y = 0; y < gdImageSY(im); y++) { in PHP_FUNCTION()
3187 for (x = 0; x < gdImageSX(im); x++) { in PHP_FUNCTION()
3188 c = gdImageGetPixel(im, x, y); in PHP_FUNCTION()
3189 gdImageSetPixel(im, x, y, in PHP_FUNCTION()
3201 for (i = 0; i < gdImageColorsTotal(im); i++) { in PHP_FUNCTION()
3202 im->red[i] = (int)((pow((pow((im->red[i] / 255.0), input)), 1.0 / output) * 255) + .5); in PHP_FUNCTION()
3203 im->green[i] = (int)((pow((pow((im->green[i] / 255.0), input)), 1.0 / output) * 255) + .5); in PHP_FUNCTION()
3204 im->blue[i] = (int)((pow((pow((im->blue[i] / 255.0), input)), 1.0 / output) * 255) + .5); in PHP_FUNCTION()
3217 gdImagePtr im; in PHP_FUNCTION() local
3223 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in PHP_FUNCTION()
3224 gdImageSetPixel(im, x, y, col); in PHP_FUNCTION()
3235 gdImagePtr im; in PHP_FUNCTION() local
3241 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in PHP_FUNCTION()
3244 if (im->antialias) { in PHP_FUNCTION()
3245 gdImageAALine(im, x1, y1, x2, y2, col); in PHP_FUNCTION()
3249 gdImageLine(im, x1, y1, x2, y2, col); in PHP_FUNCTION()
3261 gdImagePtr im; in PHP_FUNCTION() local
3267 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in PHP_FUNCTION()
3268 gdImageDashedLine(im, x1, y1, x2, y2, col); in PHP_FUNCTION()
3279 gdImagePtr im; in PHP_FUNCTION() local
3285 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in PHP_FUNCTION()
3286 gdImageRectangle(im, x1, y1, x2, y2, col); in PHP_FUNCTION()
3297 gdImagePtr im; in PHP_FUNCTION() local
3303 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in PHP_FUNCTION()
3304 gdImageFilledRectangle(im, x1, y1, x2, y2, col); in PHP_FUNCTION()
3315 gdImagePtr im; in PHP_FUNCTION() local
3322 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in PHP_FUNCTION()
3334 gdImageArc(im, cx, cy, w, h, st, e, col); in PHP_FUNCTION()
3345 gdImagePtr im; in PHP_FUNCTION() local
3351 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in PHP_FUNCTION()
3353 gdImageEllipse(im, cx, cy, w, h, color); in PHP_FUNCTION()
3364 gdImagePtr im; in PHP_FUNCTION() local
3370 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in PHP_FUNCTION()
3371 gdImageFillToBorder(im, x, y, border, col); in PHP_FUNCTION()
3382 gdImagePtr im; in PHP_FUNCTION() local
3388 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in PHP_FUNCTION()
3389 gdImageFill(im, x, y, col); in PHP_FUNCTION()
3399 gdImagePtr im; in PHP_FUNCTION() local
3405 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in PHP_FUNCTION()
3407 RETURN_LONG(gdImageColorsTotal(im)); in PHP_FUNCTION()
3417 gdImagePtr im; in PHP_FUNCTION() local
3424 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in PHP_FUNCTION()
3427 gdImageColorTransparent(im, COL); in PHP_FUNCTION()
3430 RETURN_LONG(gdImageGetTransparent(im)); in PHP_FUNCTION()
3441 gdImagePtr im; in PHP_FUNCTION() local
3447 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in PHP_FUNCTION()
3450 gdImageInterlace(im, INT); in PHP_FUNCTION()
3453 RETURN_LONG(gdImageGetInterlaced(im)); in PHP_FUNCTION()
3466 gdImagePtr im; in php_imagepolygon() local
3474 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in php_imagepolygon()
3509 gdImageFilledPolygon(im, points, npoints, col); in php_imagepolygon()
3511 gdImagePolygon(im, points, npoints, col); in php_imagepolygon()
3610 static void php_gdimagecharup(gdImagePtr im, gdFontPtr f, int x, int y, int c, int color) in php_gdimagecharup() argument
3624 gdImageSetPixel(im, px, py, color); in php_gdimagecharup()
3646 gdImagePtr im; in php_imagechar() local
3655 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in php_imagechar()
3674 gdImageChar(im, font, x, y, ch, col); in php_imagechar()
3677 php_gdimagecharup(im, font, x, y, ch, col); in php_imagechar()
3681 gdImageChar(im, font, x, y, (int) ((unsigned char) str[i]), col); in php_imagechar()
3688 gdImageCharUp(im, font, x, y, (int) str[i], col); in php_imagechar()
3861 gdImagePtr im; in PHP_FUNCTION() local
3867 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in PHP_FUNCTION()
3869 RETURN_LONG(gdImageSX(im)); in PHP_FUNCTION()
3878 gdImagePtr im; in PHP_FUNCTION() local
3884 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in PHP_FUNCTION()
3886 RETURN_LONG(gdImageSY(im)); in PHP_FUNCTION()
3936 gdImagePtr im=NULL; in php_imagettftext_common() local
3963 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in php_imagettftext_common()
4013 error = gdImageStringFTEx(im, brect, col, fontname, ptsize, angle, x, y, str, &strex); in php_imagettftext_common()
4019 error = gdImageStringFT(im, brect, col, fontname, ptsize, angle, x, y, str); in php_imagettftext_common()
4021 error = gdImageStringTTF(im, brect, col, fontname, ptsize, angle, x, y, str); in php_imagettftext_common()
4957 gdImagePtr im; in php_image_filter_pixelate() local
4965 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in php_image_filter_pixelate()
4967 if (im == NULL) { in php_image_filter_pixelate()
4971 if (gdImagePixelate(im, (int) blocksize, (const unsigned int) mode)) { in php_image_filter_pixelate()
5074 gdImagePtr im; in PHP_FUNCTION() local
5080 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in PHP_FUNCTION()
5081 gdImageAntialias(im, alias); in PHP_FUNCTION()