Home
last modified time | relevance | path

Searched refs:colorsTotal (Results 1 – 11 of 11) sorted by relevance

/PHP-5.3/ext/gd/libgd/
H A Dgd_color.c32 if (im2->colorsTotal<1) { in gdImageColorMatch()
36 buf = (unsigned long *)safe_emalloc(sizeof(unsigned long), 5 * im2->colorsTotal, 0); in gdImageColorMatch()
37 memset( buf, 0, sizeof(unsigned long) * 5 * im2->colorsTotal ); in gdImageColorMatch()
52 for (color=0; color<im2->colorsTotal; color++) { in gdImageColorMatch()
H A Dgd_gd.c39 if (!gdGetWord(&im->colorsTotal, in)) { in _gdGetColors()
42 if (im->colorsTotal > gdMaxColors) { in _gdGetColors()
51 if (!gdGetByte(&im->colorsTotal, in)) { in _gdGetColors()
62 GD2_DBG(printf("Pallette had %d colours (T=%d)\n", im->colorsTotal, im->transparent)); in _gdGetColors()
85 for (i = 0; i < im->colorsTotal; i++) { in _gdGetColors()
218 gdPutWord(im->colorsTotal, out); in _gdPutColors()
H A Dgd_png.c335 im->colorsTotal = num_palette; in gdImageCreateFromPngCtx()
467 int colors = im->colorsTotal; in gdImagePngCtxEx()
534 if (transparent >= im->colorsTotal || (transparent >= 0 && open[transparent])) { in gdImagePngCtxEx()
544 for (i = 0; i < im->colorsTotal; ++i) { in gdImagePngCtxEx()
554 if (colors < im->colorsTotal) { in gdImagePngCtxEx()
602 for (i = 0; (i < im->colorsTotal); i++) { in gdImagePngCtxEx()
609 for (i = 0; (i < im->colorsTotal); i++) { in gdImagePngCtxEx()
624 for (i = 0; i < im->colorsTotal; i++) { in gdImagePngCtxEx()
642 for (i = 0; i < im->colorsTotal; ++i) { in gdImagePngCtxEx()
H A Dgdtest.c51 printf ("Reference File has %d Palette entries\n", ref->colorsTotal); in main()
267 printf ("[Merged Image has %d colours]\n", im2->colorsTotal); in main()
388 im1->colorsTotal, im2->colorsTotal); in CompareImages()
H A Dgd_topal.c825 nim->colorsTotal = numboxes;
838 nim->open[nim->colorsTotal] = 0;
942 int numcolors = nim->colorsTotal;
1334 *outptr++ = nim->colorsTotal;
1444 *outptr = nim->colorsTotal;
1957 for (i = 0; (i < im->colorsTotal); i++)
1965 for (i = 0; (i < im->colorsTotal); i++)
1977 for (i = 0; (i < im->colorsTotal); i++)
1985 for (i = 0; (i < im->colorsTotal); i++)
2002 nim->transparent = nim->colorsTotal;
[all …]
H A Dgd_gif_in.c259 if (!im->colorsTotal) { in gdImageCreateFromGifCtx()
266 for (i=((im->colorsTotal-1)); (i>=0); i--) { in gdImageCreateFromGifCtx()
268 im->colorsTotal--; in gdImageCreateFromGifCtx()
574 im->colorsTotal = gdMaxColors; in ReadImage()
H A Dgd.c153 im->colorsTotal = 0; in gdImageCreate()
273 for (i = 0; i < im->colorsTotal; i++) { in gdImageColorClosestAlpha()
438 for (i = 0; i < im->colorsTotal; i++) { in gdImageColorClosestHWB()
494 ct = im->colorsTotal; in gdImageColorAllocateAlpha()
498 im->colorsTotal++; in gdImageColorAllocateAlpha()
537 for (c = 0; c < im->colorsTotal; c++) in gdImageColorResolveAlpha()
568 op = im->colorsTotal; in gdImageColorResolveAlpha()
573 im->colorsTotal++; in gdImageColorResolveAlpha()
639 for (i = from->colorsTotal; i < to->colorsTotal; i++) { in gdImagePaletteCopy()
643 to->colorsTotal = from->colorsTotal; in gdImagePaletteCopy()
[all …]
H A Dgd.h112 int colorsTotal; member
604 #define gdImageColorsTotal(im) ((im)->colorsTotal)
H A Dgd_gd2.c188 GD2_DBG(php_gd_error("Image palette completed: %d colours", im->colorsTotal)); in _gd2CreateFromFile()
460 GD2_DBG(php_gd_error("Image palette completed: %d colours", im->colorsTotal)); in gdImageCreateFromGd2PartCtx()
H A Dgd_gif_out.c132 BitsPerPixel = colorstobpp(tim->colorsTotal); in gdImageGifCtx()
/PHP-5.3/ext/gd/
H A Dgd.c1431 for (c = 0; c < im->colorsTotal; c++) { in gdImageColorResolve()
1450 op = im->colorsTotal; in gdImageColorResolve()
1454 im->colorsTotal++; in gdImageColorResolve()

Completed in 39 milliseconds