/PHP-5.6/ext/gd/tests/ |
H A D | bug36697.phpt | 23 $colors = imagecolorsforindex($im, $c); 24 echo $colors['red'] . ' ' . $colors['green'] . ' ' . $colors['blue'];
|
H A D | imagecolorstotal_basic.phpt | 16 * Description: Find out the number of colors in an image's palette 26 echo 'Total colors in image: ' . imagecolorstotal($im); 35 Total colors in image: 128
|
H A D | copyresized.phpt | 14 $colors = imagecolorsforindex($im, $c); 15 return ($colors['red'] << 16) + ($colors['green'] << 8) + ($colors['blue']);
|
H A D | imagetruecolortopalette_error4.phpt | 19 Warning: imagetruecolortopalette(): Number of colors has to be greater than zero and no more than %… 21 Warning: imagetruecolortopalette(): Number of colors has to be greater than zero and no more than %…
|
H A D | copypalette.phpt | 25 echo "copy palette 255 colors: "; 43 copy palette 255 colors: ok
|
H A D | bug19366.phpt | 14 echo "Alive: Define colors\n"; 47 Alive: Define colors
|
H A D | crafted_gd2.phpt | 2 Test max colors for a gd image.
|
H A D | bug45799.phpt | 15 Warning: imagepng(): gd-png error: no colors in palette in %s on line %d
|
H A D | bug72697.phpt | 16 Warning: imagetruecolortopalette(): Number of colors has to be greater than zero and no more than 2…
|
H A D | bug70102.phpt | 2 Bug #70102 (imagecreatefromwebm() shifts colors)
|
H A D | imagecolourstotal_basic.phpt | 17 * Description: Find out the number of colors in an image's palette
|
H A D | imagetruecolortopalette_error3.phpt | 28 Warning: imagetruecolortopalette(): Number of colors has to be greater than zero and no more than %…
|
H A D | imagecolorstotal_error.phpt | 15 * Description: Find out the number of colors in an image's palette
|
/PHP-5.6/sapi/phpdbg/ |
H A D | phpdbg_utils.c | 43 const static phpdbg_color_t colors[] = { variable 246 PHPDBG_G(colors)[PHPDBG_COLOR_ERROR]->code, buffer); in phpdbg_print() 256 PHPDBG_G(colors)[PHPDBG_COLOR_NOTICE]->code, buffer); in phpdbg_print() 326 const phpdbg_color_t *color = colors; in phpdbg_get_color() 346 PHPDBG_G(colors)[element] = color; in phpdbg_set_color() local 355 } else PHPDBG_G(colors)[element] = colors; in phpdbg_set_color_ex() local 360 return colors; in phpdbg_get_colors() 408 PHPDBG_G(colors)[PHPDBG_COLOR_PROMPT]->code, in phpdbg_get_prompt()
|
H A D | phpdbg_set.h | 31 PHPDBG_SET(colors);
|
H A D | phpdbg_set.c | 37 …PHPDBG_SET_COMMAND_D(colors, "usage: set colors [<on|off>]", 'C', set_colors, … 147 PHPDBG_SET(colors) /* {{{ */ in PHPDBG_SET() argument
|
H A D | phpdbg.h | 209 const phpdbg_color_t *colors[PHPDBG_COLORS]; /* colors */ variable
|
H A D | Changelog.md | 24 3. Added "set" command - control prompt and console colors
|
H A D | phpdbg.c | 63 pg->colors[0] = NULL; in php_phpdbg_globals_ctor() 64 pg->colors[1] = NULL; in php_phpdbg_globals_ctor() 65 pg->colors[2] = NULL; in php_phpdbg_globals_ctor()
|
/PHP-5.6/ext/gd/libgd/ |
H A D | gdxpm.c | 27 int *colors; in gdImageCreateFromXpm() local 45 colors = (int *) safe_emalloc(number, sizeof(int), 0); in gdImageCreateFromXpm() 122 colors[i] = gdImageColorResolve(im, red, green, blue); in gdImageCreateFromXpm() 129 gdImageSetPixel(im, j, i, colors[k]); in gdImageCreateFromXpm() 133 gdFree(colors); in gdImageCreateFromXpm()
|
H A D | gd_gif_out.c | 89 static int colorstobpp(int colors); 144 colorstobpp(int colors) in colorstobpp() argument 148 if ( colors <= 2 ) in colorstobpp() 150 else if ( colors <= 4 ) in colorstobpp() 152 else if ( colors <= 8 ) in colorstobpp() 154 else if ( colors <= 16 ) in colorstobpp() 156 else if ( colors <= 32 ) in colorstobpp() 158 else if ( colors <= 64 ) in colorstobpp() 160 else if ( colors <= 128 ) in colorstobpp() 162 else if ( colors <= 256 ) in colorstobpp()
|
H A D | gd_png.c | 469 int colors = im->colorsTotal; in gdImagePngCtxEx() local 545 colors = 0; in gdImagePngCtxEx() 548 mapping[i] = colors; in gdImagePngCtxEx() 549 ++colors; in gdImagePngCtxEx() 552 if (colors == 0) { in gdImagePngCtxEx() 556 if (colors < im->colorsTotal) { in gdImagePngCtxEx() 559 if (colors <= 2) { in gdImagePngCtxEx() 561 } else if (colors <= 4) { in gdImagePngCtxEx() 563 } else if (colors <= 16) { in gdImagePngCtxEx() 624 k = colors - 1; in gdImagePngCtxEx() [all …]
|
H A D | gd_webp.c | 170 int colors = im->colorsTotal; in gdImageWebpCtx() local
|
/PHP-5.6/ext/fileinfo/tests/ |
H A D | magic | 10611 #>10 byte&0x07 =0x00 2 colors 10612 #>10 byte&0x07 =0x01 4 colors 10613 #>10 byte&0x07 =0x02 8 colors 10614 #>10 byte&0x07 =0x03 16 colors 10615 #>10 byte&0x07 =0x04 32 colors 10616 #>10 byte&0x07 =0x05 64 colors 10617 #>10 byte&0x07 =0x06 128 colors 14149 >>8 byte 0 \b, 256-colors 14150 >>8 byte >0 \b, %d-colors 14684 >>&3 ubyte&0x82 0x00 16 colors [all …]
|
/PHP-5.6/ |
H A D | NEWS | 1169 . Fixed bug #70102 (imagecreatefromwebm() shifts colors). (cmb) 9099 . colors allocated henceforth from the resulting image overwrite the palette 9100 colors (Rob Leslie)
|