Searched defs:image (Results 1 - 4 of 4) sorted by relevance

/PHP_TRUNK/ext/gd/libgd/
H A Dgd_wbmp.c87 ** 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 Dxbm.c152 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) {
H A Dgdxpm.c21 XpmImage image; local
30 ret = XpmReadFileToXpmImage(filename, &image, &info);
34 number = image.ncolors;
36 if (!image.colorTable[i].c_color) {
41 if (!(im = gdImageCreate(image.width, image.height))) {
47 switch (strlen (image.colorTable[i].c_color)) {
50 buf[0] = image.colorTable[i].c_color[1];
53 buf[0] = image.colorTable[i].c_color[2];
56 buf[0] = image
[all...]
H A Dgdft.c625 /* draw_bitmap - transfers glyph bitmap to GD image */
635 /* copy to image, mapping colors */
645 /* 2.0.16: clipping rectangle, not image bounds */
799 /* gdImageStringFT - render a utf8 string onto a gd image */
815 FT_Glyph image; local
841 * brand new image, the cache gives out bogus
1081 /* load glyph image into the slot (erase previous one) */
1091 /* transform glyph image */
1092 if (FT_Get_Glyph(slot, &image)) {
1102 FT_Glyph_Get_CBox(image, ft_glyph_bbox_gridfi
[all...]

Completed in 5 milliseconds