| /PHP_TRUNK/ext/gd/libgd/ |
| H A D | gd_filter.c | 187 int gdImageColor(gdImagePtr src, const int red, const int green, const int blue, const int alpha) argument 213 a = a + alpha;
|
| H A D | webpng.c | 190 int maxx, maxy, x, y, alpha, pix, nalpha = 0; local 195 printf("alpha channel information:\n"); 201 alpha = gdTrueColorGetAlpha(pix); 203 if (alpha > gdAlphaOpaque) { 209 alpha); 219 printf("%d alpha channels\n", nalpha); 239 " -a Prints all alpha channels that are not 100%% opaque.\n"
|
| H A D | gd.h | 73 Where 'A' (alpha channel) occupies only the 75 loss of alpha channel resolution allows gd 2.x 103 based on the alpha channel value of the source color. 175 'alpha', which appears later in the structure to 190 full alpha channel for PNG and provide 205 /* New in 2.0: alpha channel for palettes. Note that only 213 int alpha[gdMaxColors]; member in struct:gdImageStruct 218 /* Should alpha channel be copied, or applied, each time a 220 No attempt is made to alpha-blend in palette images, 227 /* Should the alpha channe [all...] |
| H A D | gd.c | 211 /* 2.0.2: alpha blending is now on by default, and saving of alpha is 214 * for smaller PNGs when saving of alpha channel is not really 286 ad = im->alpha[i] - a; 472 if ((im->red[i] == r) && (im->green[i] == g) && (im->blue[i] == b) && (im->alpha[i] == a)) { 507 im->alpha[ct] = a; 557 ad = (long) (im->alpha[c] - a); 582 im->alpha[op] = a; 600 im->alpha[im->transparent] = gdAlphaOpaque; 603 im->alpha[colo 2470 double red = 0.0, green = 0.0, blue = 0.0, alpha = 0.0; local 2877 int dst_alpha, alpha, red, green, blue; local [all...] |
| H A D | gd_interpolation.c | 619 register int alpha, red, green, blue; local 624 alpha = src_alpha * dst_alpha / gdAlphaMax; 633 return ((alpha << 24) + (red << 16) + (green << 8) + blue); 695 #define colorIndex2RGBA(c) gdTrueColorAlpha(im->red[(c)], im->green[(c)], im->blue[(c)], im->alpha[(c)]) 696 #define colorIndex2RGBcustomA(c, a) gdTrueColorAlpha(im->red[(c)], im->green[(c)], im->blue[(c)], im->alpha[(a)]) 779 a = (int)(m1*im->alpha[(c1)] + m2*im->alpha[(c2)] + m3*im->alpha[(c3)] + m4*im->alpha[(c4)]); 1220 new_img->transparent = gdTrueColorAlpha(im->red[transparent], im->green[transparent], im->blue[transparent], im->alpha[transparen 1279 const char alpha = (char) gd_fxtoi(gd_mulfx(f_w1, f_a1) + gd_mulfx(f_w2, f_a2) + gd_mulfx(f_w3, f_a3) + gd_mulfx(f_w4, f_a4)); local 1366 const char alpha = (char) gd_fxtoi(gd_mulfx(f_w1, f_a1) + gd_mulfx(f_w2, f_a2) + gd_mulfx(f_w3, f_a3) + gd_mulfx(f_w4, f_a4)); local 1435 unsigned char red, green, blue, alpha = 0; local 1891 const unsigned char alpha = (unsigned char) CLAMP(gd_fxtoi(f_alpha), 0, 127); local 1958 unsigned char red, green, blue, alpha; local [all...] |
| /PHP_TRUNK/ext/gd/ |
| H A D | gd.c | 228 ZEND_ARG_INFO(0, alpha) 236 ZEND_ARG_INFO(0, alpha) 244 ZEND_ARG_INFO(0, alpha) 252 ZEND_ARG_INFO(0, alpha) 471 ZEND_ARG_INFO(0, alpha) 1764 Turn alpha blending mode on or off for the given image */ 1783 Include alpha channel to a saved image */ 1802 Set the alpha blending flag to use the bundled libgd layering effects */ 1820 /* {{{ proto int imagecolorallocatealpha(resource im, int red, int green, int blue, int alpha) 1821 Allocate a color with an alpha leve 1825 long red, green, blue, alpha; local 1847 long red, green, blue, alpha; local 1865 long red, green, blue, alpha; local 1883 long red, green, blue, alpha; local 2992 long color, red, green, blue, alpha = 0; local [all...] |