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)
392 ZEND_ARG_INFO(0, im)
400 ZEND_ARG_INFO(0, im)
407 ZEND_ARG_INFO(0, im)
414 ZEND_ARG_INFO(0, im)
422 ZEND_ARG_INFO(0, im)
429 ZEND_ARG_INFO(0, im)
435 ZEND_ARG_INFO(0, im)
443 ZEND_ARG_INFO(0, im)
447 ZEND_ARG_INFO(0, im)
461 ZEND_ARG_INFO(0, im)
467 ZEND_ARG_INFO(0, im)
475 ZEND_ARG_INFO(0, im)
483 ZEND_ARG_INFO(0, im)
488 ZEND_ARG_INFO(0, im)
495 ZEND_ARG_INFO(0, im)
502 ZEND_ARG_INFO(0, im)
510 ZEND_ARG_INFO(0, im)
515 ZEND_ARG_INFO(0, im)
521 ZEND_ARG_INFO(0, im)
528 ZEND_ARG_INFO(0, im)
537 ZEND_ARG_INFO(0, im)
546 ZEND_ARG_INFO(0, im)
555 ZEND_ARG_INFO(0, im)
564 ZEND_ARG_INFO(0, im)
575 ZEND_ARG_INFO(0, im)
584 ZEND_ARG_INFO(0, im)
592 ZEND_ARG_INFO(0, im)
599 ZEND_ARG_INFO(0, im)
603 ZEND_ARG_INFO(0, im)
608 ZEND_ARG_INFO(0, im)
613 ZEND_ARG_INFO(0, im)
620 ZEND_ARG_INFO(0, im)
635 ZEND_ARG_INFO(0, im)
644 ZEND_ARG_INFO(0, im)
653 ZEND_ARG_INFO(0, im)
662 ZEND_ARG_INFO(0, im)
721 ZEND_ARG_INFO(0, im)
725 ZEND_ARG_INFO(0, im)
739 ZEND_ARG_INFO(0, im)
759 ZEND_ARG_INFO(0, im)
801 ZEND_ARG_INFO(0, im)
827 ZEND_ARG_INFO(0, im)
854 ZEND_ARG_INFO(0, im)
863 ZEND_ARG_INFO(0, im)
871 ZEND_ARG_INFO(0, im)
1423 int gdImageColorResolve(gdImagePtr im, int r, int g, int b) in gdImageColorResolve() argument
1431 for (c = 0; c < im->colorsTotal; c++) { in gdImageColorResolve()
1432 if (im->open[c]) { in gdImageColorResolve()
1436 rd = (long) (im->red [c] - r); in gdImageColorResolve()
1437 gd = (long) (im->green[c] - g); in gdImageColorResolve()
1438 bd = (long) (im->blue [c] - b); in gdImageColorResolve()
1450 op = im->colorsTotal; in gdImageColorResolve()
1454 im->colorsTotal++; in gdImageColorResolve()
1456 im->red [op] = r; in gdImageColorResolve()
1457 im->green[op] = g; in gdImageColorResolve()
1458 im->blue [op] = b; in gdImageColorResolve()
1459 im->open [op] = 0; in gdImageColorResolve()
1582 gdImagePtr im; in PHP_FUNCTION() local
1591 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in PHP_FUNCTION()
1610 gdImageSetStyle(im, stylearr, index); in PHP_FUNCTION()
1623 gdImagePtr im; in PHP_FUNCTION() local
1634 im = gdImageCreateTrueColor(x_size, y_size); in PHP_FUNCTION()
1636 if (!im) { in PHP_FUNCTION()
1640 ZEND_REGISTER_RESOURCE(return_value, im, le_gd); in PHP_FUNCTION()
1649 gdImagePtr im; in PHP_FUNCTION() local
1655 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in PHP_FUNCTION()
1657 RETURN_BOOL(im->trueColor); in PHP_FUNCTION()
1668 gdImagePtr im; in PHP_FUNCTION() local
1674 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in PHP_FUNCTION()
1680 gdImageTrueColorToPalette(im, dither, ncolors); in PHP_FUNCTION()
1731 gdImagePtr im; in PHP_FUNCTION() local
1737 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in PHP_FUNCTION()
1739 gdImageSetThickness(im, thick); 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 gdImageFilledEllipse(im, cx, cy, w, h, color); in PHP_FUNCTION()
1771 gdImagePtr im; in PHP_FUNCTION() local
1778 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in PHP_FUNCTION()
1790 gdImageFilledArc(im, cx, cy, w, h, st, e, col, style); in PHP_FUNCTION()
1802 gdImagePtr im; in PHP_FUNCTION() local
1808 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in PHP_FUNCTION()
1809 gdImageAlphaBlending(im, blend); in PHP_FUNCTION()
1821 gdImagePtr im; in PHP_FUNCTION() local
1827 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in PHP_FUNCTION()
1828 gdImageSaveAlpha(im, save); 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 gdImageAlphaBlending(im, effect); in PHP_FUNCTION()
1861 gdImagePtr im; in PHP_FUNCTION() local
1868 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in PHP_FUNCTION()
1869 ct = gdImageColorAllocateAlpha(im, red, green, blue, alpha); in PHP_FUNCTION()
1883 gdImagePtr im; in PHP_FUNCTION() local
1889 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in PHP_FUNCTION()
1891 RETURN_LONG(gdImageColorResolveAlpha(im, red, green, blue, alpha)); in PHP_FUNCTION()
1901 gdImagePtr im; in PHP_FUNCTION() local
1907 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in PHP_FUNCTION()
1909 RETURN_LONG(gdImageColorClosestAlpha(im, red, green, blue, alpha)); in PHP_FUNCTION()
1919 gdImagePtr im; in PHP_FUNCTION() local
1925 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in PHP_FUNCTION()
1927 RETURN_LONG(gdImageColorExactAlpha(im, red, green, blue, alpha)); in PHP_FUNCTION()
1980 gdImagePtr im; in PHP_FUNCTION() local
2027 im = gdImageCreateTrueColor(Width, Height); in PHP_FUNCTION()
2028 if (im) { in PHP_FUNCTION()
2033 gdImageSetPixel(im, x, y, gdTrueColor(GetRValue(c), GetGValue(c), GetBValue(c))); in PHP_FUNCTION()
2044 if (!im) { in PHP_FUNCTION()
2047 ZEND_REGISTER_RESOURCE(return_value, im, le_gd); in PHP_FUNCTION()
2065 gdImagePtr im; in PHP_FUNCTION() local
2087 im = gdImageCreateTrueColor(Width, Height); in PHP_FUNCTION()
2088 if (im) { in PHP_FUNCTION()
2093 gdImageSetPixel(im, x, y, gdTrueColor(GetRValue(c), GetGValue(c), GetBValue(c))); in PHP_FUNCTION()
2103 if (!im) { in PHP_FUNCTION()
2106 ZEND_REGISTER_RESOURCE(return_value, im, le_gd); in PHP_FUNCTION()
2144 gdImagePtr im, tile; in PHP_FUNCTION() local
2150 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in PHP_FUNCTION()
2153 gdImageSetTile(im, tile); in PHP_FUNCTION()
2166 gdImagePtr im, tile; in PHP_FUNCTION() local
2172 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in PHP_FUNCTION()
2175 gdImageSetBrush(im, tile); in PHP_FUNCTION()
2187 gdImagePtr im; in PHP_FUNCTION() local
2198 im = gdImageCreate(x_size, y_size); in PHP_FUNCTION()
2200 if (!im) { in PHP_FUNCTION()
2204 ZEND_REGISTER_RESOURCE(return_value, im, le_gd); in PHP_FUNCTION()
2293 gdImagePtr im; in _php_image_create_from_string() local
2302 im = (*ioctx_func_p)(io_ctx); in _php_image_create_from_string()
2303 if (!im) { in _php_image_create_from_string()
2319 return im; in _php_image_create_from_string()
2328 gdImagePtr im; in PHP_FUNCTION() local
2349 im = _php_image_create_from_string(data, "JPEG", gdImageCreateFromJpegCtx TSRMLS_CC); in PHP_FUNCTION()
2358 im = _php_image_create_from_string(data, "PNG", gdImageCreateFromPngCtx TSRMLS_CC); in PHP_FUNCTION()
2367 im = _php_image_create_from_string(data, "GIF", gdImageCreateFromGifCtx TSRMLS_CC); in PHP_FUNCTION()
2376 im = _php_image_create_from_string(data, "WBMP", gdImageCreateFromWBMPCtx TSRMLS_CC); in PHP_FUNCTION()
2385 im = _php_image_create_from_string(data, "GD2", gdImageCreateFromGd2Ctx TSRMLS_CC); in PHP_FUNCTION()
2397 if (!im) { in PHP_FUNCTION()
2402 ZEND_REGISTER_RESOURCE(return_value, im, le_gd); in PHP_FUNCTION()
2414 gdImagePtr im = NULL; in _php_image_create_from() local
2471 im = (*ioctx_func_p)(io_ctx, srcx, srcy, width, height); in _php_image_create_from()
2473 im = (*ioctx_func_p)(io_ctx); in _php_image_create_from()
2490 if (!im && fp) { in _php_image_create_from()
2493 im = (*func_p)(fp, srcx, srcy, width, height); in _php_image_create_from()
2497 im = gdImageCreateFromXpm(file); in _php_image_create_from()
2505 im = gdImageCreateFromJpeg(fp, ignore_warning); in _php_image_create_from()
2507 im = gdImageCreateFromJpeg(fp); in _php_image_create_from()
2513 im = (*func_p)(fp); in _php_image_create_from()
2520 if (im) { in _php_image_create_from()
2521 ZEND_REGISTER_RESOURCE(return_value, im, le_gd); in _php_image_create_from()
2627 gdImagePtr im; in _php_image_output() local
2641 ZEND_FETCH_RESOURCE(im, gdImagePtr, &imgind, -1, "Image", le_gd); in _php_image_output()
2674 gdImageWBMP(im, q, fp); in _php_image_output()
2678 (*func_p)(im, fp, q); in _php_image_output()
2681 for (i = 0; i < gdImageColorsTotal(im); i++) { in _php_image_output()
2682 if (gdImageRed(im, i) == 0) break; in _php_image_output()
2684 (*func_p)(im, i, fp); in _php_image_output()
2687 if (im->trueColor){ in _php_image_output()
2688 gdImageTrueColorToPalette(im,1,256); in _php_image_output()
2690 (*func_p)(im, fp); in _php_image_output()
2697 (*func_p)(im, fp, q, t); in _php_image_output()
2704 (*func_p)(im, fp, q, t); in _php_image_output()
2730 gdImageWBMP(im, q, tmp); in _php_image_output()
2734 (*func_p)(im, tmp, q); in _php_image_output()
2737 for (i = 0; i < gdImageColorsTotal(im); i++) { in _php_image_output()
2738 if (gdImageRed(im, i) == 0) { in _php_image_output()
2742 (*func_p)(im, q, tmp); in _php_image_output()
2745 if (im->trueColor) { in _php_image_output()
2746 gdImageTrueColorToPalette(im,1,256); in _php_image_output()
2748 (*func_p)(im, tmp); in _php_image_output()
2755 (*func_p)(im, tmp, q, t); in _php_image_output()
2759 (*func_p)(im, tmp); in _php_image_output()
2872 gdImagePtr im; in PHP_FUNCTION() local
2878 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in PHP_FUNCTION()
2893 gdImagePtr im; in PHP_FUNCTION() local
2900 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in PHP_FUNCTION()
2902 ct = gdImageColorAllocate(im, red, green, blue); in PHP_FUNCTION()
2936 gdImagePtr im; in PHP_FUNCTION() local
2942 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in PHP_FUNCTION()
2944 if (gdImageTrueColor(im)) { in PHP_FUNCTION()
2945 if (im->tpixels && gdImageBoundsSafe(im, x, y)) { in PHP_FUNCTION()
2946 RETURN_LONG(gdImageTrueColorPixel(im, x, y)); in PHP_FUNCTION()
2952 if (im->pixels && gdImageBoundsSafe(im, x, y)) { in PHP_FUNCTION()
2953 RETURN_LONG(im->pixels[y][x]); in PHP_FUNCTION()
2968 gdImagePtr im; in PHP_FUNCTION() local
2974 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in PHP_FUNCTION()
2976 RETURN_LONG(gdImageColorClosest(im, red, green, blue)); in PHP_FUNCTION()
2987 gdImagePtr im; in PHP_FUNCTION() local
2993 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in PHP_FUNCTION()
2995 RETURN_LONG(gdImageColorClosestHWB(im, red, green, blue)); in PHP_FUNCTION()
3007 gdImagePtr im; in PHP_FUNCTION() local
3013 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in PHP_FUNCTION()
3016 if (gdImageTrueColor(im)) { in PHP_FUNCTION()
3022 if (col >= 0 && col < gdImageColorsTotal(im)) { in PHP_FUNCTION()
3023 gdImageColorDeallocate(im, col); in PHP_FUNCTION()
3038 gdImagePtr im; in PHP_FUNCTION() local
3044 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in PHP_FUNCTION()
3046 RETURN_LONG(gdImageColorResolve(im, red, green, blue)); in PHP_FUNCTION()
3056 gdImagePtr im; in PHP_FUNCTION() local
3062 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in PHP_FUNCTION()
3064 RETURN_LONG(gdImageColorExact(im, red, green, blue)); in PHP_FUNCTION()
3075 gdImagePtr im; in PHP_FUNCTION() local
3081 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in PHP_FUNCTION()
3085 if (col >= 0 && col < gdImageColorsTotal(im)) { in PHP_FUNCTION()
3086 im->red[col] = red; in PHP_FUNCTION()
3087 im->green[col] = green; in PHP_FUNCTION()
3088 im->blue[col] = blue; in PHP_FUNCTION()
3102 gdImagePtr im; in PHP_FUNCTION() local
3108 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in PHP_FUNCTION()
3112 …if ((col >= 0 && gdImageTrueColor(im)) || (!gdImageTrueColor(im) && col >= 0 && col < gdImageColor… in PHP_FUNCTION()
3115 add_assoc_long(return_value,"red", gdImageRed(im,col)); in PHP_FUNCTION()
3116 add_assoc_long(return_value,"green", gdImageGreen(im,col)); in PHP_FUNCTION()
3117 add_assoc_long(return_value,"blue", gdImageBlue(im,col)); in PHP_FUNCTION()
3118 add_assoc_long(return_value,"alpha", gdImageAlpha(im,col)); in PHP_FUNCTION()
3131 gdImagePtr im; in PHP_FUNCTION() local
3139 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in PHP_FUNCTION()
3141 if (gdImageTrueColor(im)) { in PHP_FUNCTION()
3144 for (y = 0; y < gdImageSY(im); y++) { in PHP_FUNCTION()
3145 for (x = 0; x < gdImageSX(im); x++) { in PHP_FUNCTION()
3146 c = gdImageGetPixel(im, x, y); in PHP_FUNCTION()
3147 gdImageSetPixel(im, x, y, in PHP_FUNCTION()
3159 for (i = 0; i < gdImageColorsTotal(im); i++) { in PHP_FUNCTION()
3160 im->red[i] = (int)((pow((pow((im->red[i] / 255.0), input)), 1.0 / output) * 255) + .5); in PHP_FUNCTION()
3161 im->green[i] = (int)((pow((pow((im->green[i] / 255.0), input)), 1.0 / output) * 255) + .5); in PHP_FUNCTION()
3162 im->blue[i] = (int)((pow((pow((im->blue[i] / 255.0), input)), 1.0 / output) * 255) + .5); in PHP_FUNCTION()
3175 gdImagePtr im; in PHP_FUNCTION() local
3181 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in PHP_FUNCTION()
3182 gdImageSetPixel(im, x, y, col); in PHP_FUNCTION()
3193 gdImagePtr im; in PHP_FUNCTION() local
3199 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in PHP_FUNCTION()
3202 if (im->antialias) { in PHP_FUNCTION()
3203 gdImageAALine(im, x1, y1, x2, y2, col); in PHP_FUNCTION()
3207 gdImageLine(im, x1, y1, x2, y2, col); in PHP_FUNCTION()
3219 gdImagePtr im; in PHP_FUNCTION() local
3225 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in PHP_FUNCTION()
3226 gdImageDashedLine(im, x1, y1, x2, y2, col); in PHP_FUNCTION()
3237 gdImagePtr im; in PHP_FUNCTION() local
3243 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in PHP_FUNCTION()
3244 gdImageRectangle(im, x1, y1, x2, y2, col); in PHP_FUNCTION()
3255 gdImagePtr im; in PHP_FUNCTION() local
3261 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in PHP_FUNCTION()
3262 gdImageFilledRectangle(im, x1, y1, x2, y2, col); in PHP_FUNCTION()
3273 gdImagePtr im; in PHP_FUNCTION() local
3280 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in PHP_FUNCTION()
3292 gdImageArc(im, cx, cy, w, h, st, e, col); in PHP_FUNCTION()
3303 gdImagePtr im; in PHP_FUNCTION() local
3309 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in PHP_FUNCTION()
3311 gdImageEllipse(im, cx, cy, w, h, color); in PHP_FUNCTION()
3322 gdImagePtr im; in PHP_FUNCTION() local
3328 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in PHP_FUNCTION()
3329 gdImageFillToBorder(im, x, y, border, col); in PHP_FUNCTION()
3340 gdImagePtr im; in PHP_FUNCTION() local
3346 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in PHP_FUNCTION()
3347 gdImageFill(im, x, y, col); in PHP_FUNCTION()
3357 gdImagePtr im; in PHP_FUNCTION() local
3363 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in PHP_FUNCTION()
3365 RETURN_LONG(gdImageColorsTotal(im)); in PHP_FUNCTION()
3375 gdImagePtr im; in PHP_FUNCTION() local
3382 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in PHP_FUNCTION()
3385 gdImageColorTransparent(im, COL); in PHP_FUNCTION()
3388 RETURN_LONG(gdImageGetTransparent(im)); in PHP_FUNCTION()
3399 gdImagePtr im; in PHP_FUNCTION() local
3405 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in PHP_FUNCTION()
3408 gdImageInterlace(im, INT); in PHP_FUNCTION()
3411 RETURN_LONG(gdImageGetInterlaced(im)); in PHP_FUNCTION()
3424 gdImagePtr im; in php_imagepolygon() local
3432 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in php_imagepolygon()
3467 gdImageFilledPolygon(im, points, npoints, col); in php_imagepolygon()
3469 gdImagePolygon(im, points, npoints, col); in php_imagepolygon()
3568 static void php_gdimagecharup(gdImagePtr im, gdFontPtr f, int x, int y, int c, int color) in php_gdimagecharup() argument
3582 gdImageSetPixel(im, px, py, color); in php_gdimagecharup()
3604 gdImagePtr im; in php_imagechar() local
3613 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in php_imagechar()
3632 gdImageChar(im, font, x, y, ch, col); in php_imagechar()
3635 php_gdimagecharup(im, font, x, y, ch, col); in php_imagechar()
3639 gdImageChar(im, font, x, y, (int) ((unsigned char) str[i]), col); in php_imagechar()
3646 gdImageCharUp(im, font, x, y, (int) str[i], col); in php_imagechar()
3819 gdImagePtr im; in PHP_FUNCTION() local
3825 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in PHP_FUNCTION()
3827 RETURN_LONG(gdImageSX(im)); in PHP_FUNCTION()
3836 gdImagePtr im; in PHP_FUNCTION() local
3842 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in PHP_FUNCTION()
3844 RETURN_LONG(gdImageSY(im)); in PHP_FUNCTION()
3894 gdImagePtr im=NULL; in php_imagettftext_common() local
3921 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in php_imagettftext_common()
3971 error = gdImageStringFTEx(im, brect, col, fontname, ptsize, angle, x, y, str, &strex); in php_imagettftext_common()
3977 error = gdImageStringFT(im, brect, col, fontname, ptsize, angle, x, y, str); in php_imagettftext_common()
3979 error = gdImageStringTTF(im, brect, col, fontname, ptsize, angle, x, y, str); in php_imagettftext_common()
4923 gdImagePtr im; in php_image_filter_pixelate() local
4931 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in php_image_filter_pixelate()
4933 if (im == NULL) { in php_image_filter_pixelate()
4937 if (gdImagePixelate(im, (int) blocksize, (const unsigned int) mode)) { in php_image_filter_pixelate()
5040 gdImagePtr im; in PHP_FUNCTION() local
5046 ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); in PHP_FUNCTION()
5047 gdImageAntialias(im, alias); in PHP_FUNCTION()