Lines Matching refs:im
1759 gdImagePtr gdImageCreatePaletteFromTrueColor (gdImagePtr im, int dither, int colorsWanted) argument
1762 gdImageTrueColorToPaletteBody(im, dither, colorsWanted, &nim);
1766 void gdImageTrueColorToPalette (gdImagePtr im, int dither, int colorsWanted) argument
1768 gdImageTrueColorToPaletteBody(im, dither, colorsWanted, 0);
1957 for (i = 0; (i < im->colorsTotal); i++)
1959 if (im->alpha[i] > mt)
1962 mt = im->alpha[i];
1965 for (i = 0; (i < im->colorsTotal); i++)
1967 if (im->alpha[i] == mt)
1969 im->alpha[i] = gdAlphaTransparent;
1977 for (i = 0; (i < im->colorsTotal); i++)
1979 if (im->alpha[i] < mo)
1982 mo = im->alpha[i];
1985 for (i = 0; (i < im->colorsTotal); i++)
1987 if (im->alpha[i] == mo)
1989 im->alpha[i] = gdAlphaOpaque;