Lines Matching refs:image
21 XpmImage image; in gdImageCreateFromXpm() local
30 ret = XpmReadFileToXpmImage(filename, &image, &info); in gdImageCreateFromXpm()
35 if (!(im = gdImageCreate(image.width, image.height))) { in gdImageCreateFromXpm()
39 number = image.ncolors; in gdImageCreateFromXpm()
42 switch (strlen (image.colorTable[i].c_color)) { in gdImageCreateFromXpm()
45 buf[0] = image.colorTable[i].c_color[1]; in gdImageCreateFromXpm()
48 buf[0] = image.colorTable[i].c_color[2]; in gdImageCreateFromXpm()
51 buf[0] = image.colorTable[i].c_color[3]; in gdImageCreateFromXpm()
57 buf[0] = image.colorTable[i].c_color[1]; in gdImageCreateFromXpm()
58 buf[1] = image.colorTable[i].c_color[2]; in gdImageCreateFromXpm()
61 buf[0] = image.colorTable[i].c_color[3]; in gdImageCreateFromXpm()
62 buf[1] = image.colorTable[i].c_color[4]; in gdImageCreateFromXpm()
65 buf[0] = image.colorTable[i].c_color[5]; in gdImageCreateFromXpm()
66 buf[1] = image.colorTable[i].c_color[6]; in gdImageCreateFromXpm()
72 buf[0] = image.colorTable[i].c_color[1]; in gdImageCreateFromXpm()
73 buf[1] = image.colorTable[i].c_color[2]; in gdImageCreateFromXpm()
74 buf[2] = image.colorTable[i].c_color[3]; in gdImageCreateFromXpm()
78 buf[0] = image.colorTable[i].c_color[4]; in gdImageCreateFromXpm()
79 buf[1] = image.colorTable[i].c_color[5]; in gdImageCreateFromXpm()
80 buf[2] = image.colorTable[i].c_color[6]; in gdImageCreateFromXpm()
84 buf[0] = image.colorTable[i].c_color[7]; in gdImageCreateFromXpm()
85 buf[1] = image.colorTable[i].c_color[8]; in gdImageCreateFromXpm()
86 buf[2] = image.colorTable[i].c_color[9]; in gdImageCreateFromXpm()
93 buf[0] = image.colorTable[i].c_color[1]; in gdImageCreateFromXpm()
94 buf[1] = image.colorTable[i].c_color[2]; in gdImageCreateFromXpm()
95 buf[2] = image.colorTable[i].c_color[3]; in gdImageCreateFromXpm()
96 buf[3] = image.colorTable[i].c_color[4]; in gdImageCreateFromXpm()
100 buf[0] = image.colorTable[i].c_color[5]; in gdImageCreateFromXpm()
101 buf[1] = image.colorTable[i].c_color[6]; in gdImageCreateFromXpm()
102 buf[2] = image.colorTable[i].c_color[7]; in gdImageCreateFromXpm()
103 buf[3] = image.colorTable[i].c_color[8]; in gdImageCreateFromXpm()
107 buf[0] = image.colorTable[i].c_color[9]; in gdImageCreateFromXpm()
108 buf[1] = image.colorTable[i].c_color[10]; in gdImageCreateFromXpm()
109 buf[2] = image.colorTable[i].c_color[11]; in gdImageCreateFromXpm()
110 buf[3] = image.colorTable[i].c_color[12]; in gdImageCreateFromXpm()
120 pointer = (int *) image.data; in gdImageCreateFromXpm()
121 for (i = 0; i < image.height; i++) { in gdImageCreateFromXpm()
122 for (j = 0; j < image.width; j++) { in gdImageCreateFromXpm()
130 XpmFreeXpmImage(&image); in gdImageCreateFromXpm()