Searched defs:image (Results 1 - 4 of 4) sorted by relevance
| /PHP_TRUNK/ext/gd/libgd/ |
| H A D | gd_wbmp.c | 87 ** Write the image as a wbmp file 89 ** image: gd image structure; 94 void gdImageWBMPCtx (gdImagePtr image, int fg, gdIOCtx * out) argument 100 if ((wbmp = createwbmp (gdImageSX (image), gdImageSY (image), WBMP_WHITE)) == NULL) { 106 for (y = 0; y < gdImageSY(image); y++) { 107 for (x = 0; x < gdImageSX(image); x++) { 108 if (gdImageGetPixel (image, x, y) == fg) { 149 /* fill in image (i [all...] |
| H A D | gdft.c | 589 /* draw_bitmap - transfers glyph bitmap to GD image */ 599 /* copy to image, mapping colors */ 609 /* 2.0.16: clipping rectangle, not image bounds */ 763 /* gdImageStringFT - render a utf8 string onto a gd image */ 779 FT_Glyph image; local 805 * brand new image, the cache gives out bogus 1042 /* load glyph image into the slot (erase previous one) */ 1052 /* transform glyph image */ 1053 FT_Get_Glyph(slot, &image); 1055 FT_Glyph_Get_CBox(image, ft_glyph_bbox_gridfi [all...] |
| H A D | gdxpm.c | 21 XpmImage image; local 30 ret = XpmReadFileToXpmImage(filename, &image, &info); 35 if (!(im = gdImageCreate(image.width, image.height))) { 39 number = image.ncolors; 42 switch (strlen (image.colorTable[i].c_color)) { 45 buf[0] = image.colorTable[i].c_color[1]; 48 buf[0] = image.colorTable[i].c_color[2]; 51 buf[0] = image.colorTable[i].c_color[3]; 57 buf[0] = image [all...] |
| H A D | xbm.c | 152 php_gd_error("EOF before image was complete"); 174 void gdImageXbmCtx(gdImagePtr image, char* file_name, int fg, gdIOCtx * out) argument 187 name = estrdup("image"); 197 gdCtxPrintf(out, "#define %s_width %d\n", name, gdImageSX(image)); 198 gdCtxPrintf(out, "#define %s_height %d\n", name, gdImageSY(image)); 206 sx = gdImageSX(image); 207 sy = gdImageSY(image); 210 if (gdImageGetPixel(image, x, y) == fg) {
|
Completed in 10 milliseconds