Home
last modified time | relevance | path

Searched refs:palette (Results 1 – 21 of 21) sorted by relevance

/PHP-8.2/ext/gd/tests/
H A Dcopypalette.phpt23 echo "copy palette 255 colors: ";
36 echo 'copy palette 1 color and alpha: ';
41 copy palette 255 colors: ok
42 copy palette 1 color and alpha: ok
H A Dimagegammacorrect_variation2.phpt32 $kind = $constructor === 'imagecreate' ? 'palette' : 'truecolor';
63 palette gamma (1, 2): The images are equal.
65 palette gamma (1, 1): The images are equal.
67 palette gamma (2, 1): The images are equal.
H A Dbug67447.phpt16 // palette
18 imagecolorallocate($image, 0, 0, 255); // first palette color = background
H A Dcolorat.phpt26 echo 'test colorat palette: ';
40 test colorat palette: ok
H A Dbug69024.phpt2 Bug #69024 (imagescale segfault with palette based image)
H A Dbug45799.phpt12 Warning: imagepng(): gd-png error: no colors in palette%win %s on line %d
H A Dcreatefromstring.phpt41 echo'createfromstring palette png: ';
65 createfromstring palette png: ok
H A Dimagepalettetotruecolor_basic.phpt2 does the imagepalettetotruecollor function really converts the image palette?
H A Dbug38179.phpt2 Bug #38179 (imagecopy from a palette to a truecolor image loses alpha channel)
H A Dbug36697-mb.phpt2 Bug #36697 (TrueColor transparency with GIF palette output).
H A Dbug36697.phpt2 Bug #36697 (TrueColor transparency with GIF palette output).
H A Dbug72913.phpt2 Bug #72913 (imagecopy() loses single-color transparency on palette images)
H A Dbug67325.phpt2 Bug #67325 (imagetruecolortopalette: white is duplicated in palette)
H A Dtest_image_equals_file_palette.phpt2 test_image_equals_file(): comparing palette images
H A Dlibgd00186.phpt2 libgd #186 (Tiling true colour with palette image does not work)
H A Dimagegd_truecolor.phpt2 imagegd() writes truecolor images without palette conversion
H A Dbug73281.phpt40 palette source
/PHP-8.2/ext/gd/libgd/
H A Dgd_png.c132 png_colorp palette; in gdImageCreateFromPngCtx() local
286 palette[i].red = palette[i].green = palette[i].blue = j; in gdImageCreateFromPngCtx()
291 palette[i].red = palette[i].green = palette[i].blue = i; in gdImageCreateFromPngCtx()
365 im->red[i] = palette[i].red; in gdImageCreateFromPngCtx()
366 im->green[i] = palette[i].green; in gdImageCreateFromPngCtx()
367 im->blue[i] = palette[i].blue; in gdImageCreateFromPngCtx()
437 gdFree(palette); in gdImageCreateFromPngCtx()
499 png_color palette[gdMaxColors]; in gdImagePngCtxEx() local
686 palette[i].red = im->red[i]; in gdImagePngCtxEx()
687 palette[i].green = im->green[i]; in gdImagePngCtxEx()
[all …]
H A Dtestac.c13 int palette,
75 int palette, in testDrawing() argument
119 if (palette) in testDrawing()
/PHP-8.2/ext/fileinfo/tests/
H A Dmagic15085 # GIMP palette (.gpl)
17783 >>>>1 ubyte 2 ver. 2.8 image data, with palette
19275 >8 string >0 \b, palette %s
19278 >>26 beshort x \b, palette number %d
19337 #>>0xC ulelong >0 \b, palette length %u
24125 # number of colors in palette
26897 # - b1=256 fixed colors using the MSX SCR8 palette
29044 >8 string PAL\ \b, palette
29046 # color palette by Microsoft Corporation
29559 >8 string PAL \b, palette
[all …]
H A Dmagic私はガラスを食べられます15085 # GIMP palette (.gpl)
17783 >>>>1 ubyte 2 ver. 2.8 image data, with palette
19275 >8 string >0 \b, palette %s
19278 >>26 beshort x \b, palette number %d
19337 #>>0xC ulelong >0 \b, palette length %u
24125 # number of colors in palette
26897 # - b1=256 fixed colors using the MSX SCR8 palette
29044 >8 string PAL\ \b, palette
29046 # color palette by Microsoft Corporation
29559 >8 string PAL \b, palette
[all …]

Completed in 135 milliseconds