Lines Matching refs:image

21 	XpmImage image;  in gdImageCreateFromXpm()  local
30 ret = XpmReadFileToXpmImage(filename, &image, &info); in gdImageCreateFromXpm()
34 number = image.ncolors; in gdImageCreateFromXpm()
36 if (!image.colorTable[i].c_color) { in gdImageCreateFromXpm()
41 if (!(im = gdImageCreate(image.width, image.height))) { in gdImageCreateFromXpm()
47 switch (strlen (image.colorTable[i].c_color)) { in gdImageCreateFromXpm()
50 buf[0] = image.colorTable[i].c_color[1]; in gdImageCreateFromXpm()
53 buf[0] = image.colorTable[i].c_color[2]; in gdImageCreateFromXpm()
56 buf[0] = image.colorTable[i].c_color[3]; in gdImageCreateFromXpm()
62 buf[0] = image.colorTable[i].c_color[1]; in gdImageCreateFromXpm()
63 buf[1] = image.colorTable[i].c_color[2]; in gdImageCreateFromXpm()
66 buf[0] = image.colorTable[i].c_color[3]; in gdImageCreateFromXpm()
67 buf[1] = image.colorTable[i].c_color[4]; in gdImageCreateFromXpm()
70 buf[0] = image.colorTable[i].c_color[5]; in gdImageCreateFromXpm()
71 buf[1] = image.colorTable[i].c_color[6]; in gdImageCreateFromXpm()
77 buf[0] = image.colorTable[i].c_color[1]; in gdImageCreateFromXpm()
78 buf[1] = image.colorTable[i].c_color[2]; in gdImageCreateFromXpm()
79 buf[2] = image.colorTable[i].c_color[3]; in gdImageCreateFromXpm()
83 buf[0] = image.colorTable[i].c_color[4]; in gdImageCreateFromXpm()
84 buf[1] = image.colorTable[i].c_color[5]; in gdImageCreateFromXpm()
85 buf[2] = image.colorTable[i].c_color[6]; in gdImageCreateFromXpm()
89 buf[0] = image.colorTable[i].c_color[7]; in gdImageCreateFromXpm()
90 buf[1] = image.colorTable[i].c_color[8]; in gdImageCreateFromXpm()
91 buf[2] = image.colorTable[i].c_color[9]; in gdImageCreateFromXpm()
98 buf[0] = image.colorTable[i].c_color[1]; in gdImageCreateFromXpm()
99 buf[1] = image.colorTable[i].c_color[2]; in gdImageCreateFromXpm()
100 buf[2] = image.colorTable[i].c_color[3]; in gdImageCreateFromXpm()
101 buf[3] = image.colorTable[i].c_color[4]; in gdImageCreateFromXpm()
105 buf[0] = image.colorTable[i].c_color[5]; in gdImageCreateFromXpm()
106 buf[1] = image.colorTable[i].c_color[6]; in gdImageCreateFromXpm()
107 buf[2] = image.colorTable[i].c_color[7]; in gdImageCreateFromXpm()
108 buf[3] = image.colorTable[i].c_color[8]; in gdImageCreateFromXpm()
112 buf[0] = image.colorTable[i].c_color[9]; in gdImageCreateFromXpm()
113 buf[1] = image.colorTable[i].c_color[10]; in gdImageCreateFromXpm()
114 buf[2] = image.colorTable[i].c_color[11]; in gdImageCreateFromXpm()
115 buf[3] = image.colorTable[i].c_color[12]; in gdImageCreateFromXpm()
125 pointer = (int *) image.data; in gdImageCreateFromXpm()
126 for (i = 0; i < image.height; i++) { in gdImageCreateFromXpm()
127 for (j = 0; j < image.width; j++) { in gdImageCreateFromXpm()
135 XpmFreeXpmImage(&image); in gdImageCreateFromXpm()