/PHP-8.1/ext/gd/tests/ |
H A D | imagecolorallocate_variation6.phpt | 2 Test imagecolorallocate() function : usage variations - passing RED, GREEN, BLUE values more than … 15 echo "*** Testing imagecolorallocate() : usage variations ***\n"; 36 fn() => imagecolorallocate($im_palette, $value, 0, 0), 37 fn() => imagecolorallocate($im_true_color, $value, 0, 0), 38 fn() => imagecolorallocate($im_palette, 0, $value, 0), 39 fn() => imagecolorallocate($im_true_color, 0, $value, 0), 40 fn() => imagecolorallocate($im_palette, 0, 0, $value), 41 fn() => imagecolorallocate($im_true_color, 0, 0, $value) 46 *** Testing imagecolorallocate() : usage variations *** 49 !! [ValueError] imagecolorallocate(): Argument #2 ($red) must be between 0 and 255 (inclusive) [all …]
|
H A D | imagecolorallocate_basic.phpt | 2 Test imagecolorallocate() function : basic functionality 13 echo "*** Testing imagecolorallocate() : basic functionality ***\n"; 16 // Calling imagecolorallocate() with all possible arguments 17 var_dump( imagecolorallocate($im, 255, 0, 0) ); 18 var_dump( imagecolorallocate($im, 0, 255, 0) ); 19 var_dump( imagecolorallocate($im, 0, 0, 255) ); 20 var_dump( imagecolorallocate($im, 255, 255, 255) ); 23 *** Testing imagecolorallocate() : basic functionality ***
|
H A D | test_image_equals_file_palette.phpt | 10 imagecolorallocate($im, 255, 255, 255); 11 $red = imagecolorallocate($im, 255, 0, 0); 18 imagecolorallocate($im, 255, 255, 255); 19 $blue = imagecolorallocate($im, 0, 0, 255); 25 imagecolorallocate($im, 255, 255, 255); 26 imagecolorallocate($im, 0, 0, 0); 27 $red = imagecolorallocate($im, 255, 0, 0);
|
H A D | imagecolorallocate_variation5.phpt | 2 Test imagecolorallocate() function : usage variations - passing octal and hexa-decimal values 15 echo "*** Testing imagecolorallocate() : usage variations ***\n"; 41 fn() => imagecolorallocate($im, $value, $green, $blue), 42 fn() => imagecolorallocate($im, $red, $value, $blue), 43 fn() => imagecolorallocate($im, $red, $green, $value) 48 *** Testing imagecolorallocate() : usage variations *** 61 !! [ValueError] imagecolorallocate(): Argument #2 ($red) must be between 0 and 255 (inclusive) 62 !! [ValueError] imagecolorallocate(): Argument #3 ($green) must be between 0 and 255 (inclusive) 63 !! [ValueError] imagecolorallocate(): Argument #4 ($blue) must be between 0 and 255 (inclusive) 81 !! [ValueError] imagecolorallocate(): Argument #2 ($red) must be between 0 and 255 (inclusive) [all …]
|
H A D | imageopenpolygon_basic.phpt | 10 $white = imagecolorallocate($im, 255, 255, 255); 11 $black = imagecolorallocate($im, 0, 0, 0); 12 $red = imagecolorallocate($im, 255, 0, 0); 13 $green = imagecolorallocate($im, 0, 128, 0); 14 $blue = imagecolorallocate($im, 0, 0, 255);
|
H A D | imagefilltoborder_basic.phpt | 14 imagefilledrectangle( $image, 0, 0, 100, 100, imagecolorallocate( $image, 255, 255, 255 ) ); 17 imageellipse( $image, 50, 50, 50, 50, imagecolorallocate( $image, 0, 0, 0 ) ); 20 imagefilltoborder( $image, 50, 50, imagecolorallocate( $image, 0, 0, 0 ), imagecolorallocate( $imag…
|
H A D | imagecolourstotal_basic.phpt | 20 $bg = imagecolorallocate( $img, 255, 255, 255 ); 22 $bg = imagecolorallocate( $img, 255, 0, 0 ); 23 $bg = imagecolorallocate( $img, 0, 0, 255 ); 30 $bg = imagecolorallocate( $img, 255, 255, 255 );
|
H A D | libgd00186.phpt | 9 $red = imagecolorallocate($tile,0xff,0,0); 10 $green = imagecolorallocate($tile,0,0xff,0); 11 $blue = imagecolorallocate($tile,0,0,0xff); 12 $other = imagecolorallocate($tile,0,0,0x2);
|
H A D | imagefill_1.phpt | 14 $white = imagecolorallocate($im, 255,255,255); 15 $blue = imagecolorallocate($im, 0,0,255); 16 $green = imagecolorallocate($im, 0,255,0);
|
H A D | copy.phpt | 54 $c0 = imagecolorallocate($src_tc, 0xff, 0xff, 0xff); 55 $c1 = imagecolorallocate($src_tc, 0xff, 0x00, 0x00); 56 $c2 = imagecolorallocate($src_tc, 0x00, 0x00, 0xff); 57 $c3 = imagecolorallocate($src_tc, 0x00, 0xff, 0x00); 83 $c0 = imagecolorallocate($src_tc, 0xff, 0xff, 0xff); 84 $c1 = imagecolorallocate($src_tc, 0xff, 0x00, 0x00); 85 $c2 = imagecolorallocate($src_tc, 0x00, 0x00, 0xff); 86 $c3 = imagecolorallocate($src_tc, 0x00, 0xff, 0x00);
|
H A D | bug40764.phpt | 8 $white = imagecolorallocate($image, 255, 255, 255); 9 $black = imagecolorallocate($image, 0, 0, 0); 10 $red = imagecolorallocate($image, 255, 0, 0);
|
H A D | copyresized.phpt | 52 $white = imagecolorallocate($src_tc, 255,255,255); 53 $red = imagecolorallocate($src_tc, 255,0,0); 68 $white = imagecolorallocate($src_tc, 255,255,255); 69 $red = imagecolorallocate($src_tc, 255,0,0); 78 $white = imagecolorallocate($src_tc, 255,255,255); 79 $red = imagecolorallocate($src_tc, 255,0,0);
|
H A D | webp_basic.phpt | 20 $white = imagecolorallocate($im1, 255, 255, 255); 21 $red = imagecolorallocate($im1, 255, 0, 0); 22 $green = imagecolorallocate($im1, 0, 255, 0); 23 $blue = imagecolorallocate($im1, 0, 0, 255);
|
H A D | bug73614.phpt | 15 $white = imagecolorallocate($image, 0xFF, 0xFF, 0xFF); 16 $navy = imagecolorallocate($image, 0x00, 0x00, 0x80); 17 $red = imagecolorallocate($image, 0xFF, 0x00, 0x00);
|
H A D | bug67447.phpt | 9 $red = imagecolorallocate($image, 255, 0, 0); 18 imagecolorallocate($image, 0, 0, 255); // first palette color = background 19 $red = imagecolorallocate($image, 255, 0, 0);
|
H A D | bug77200.phpt | 13 $red = imagecolorallocate($orig, 255, 0, 0); 14 $green = imagecolorallocate($orig, 0, 255, 0); 15 $blue = imagecolorallocate($orig, 0, 0, 255);
|
H A D | gif.phpt | 47 $c = imagecolorallocate($im, 255,255,255); 56 $c = imagecolorallocate($im, $i,$i,$i); 68 $c = imagecolorallocate($im, $i,$i,$i); 80 $c = imagecolorallocate($im, $i,$i,$i); 92 $c = imagecolorallocate($im, $i,$i,$i); 103 $c = imagecolorallocate($im, $i,$i,$i); 114 $c = imagecolorallocate($im, $i,$i,$i);
|
H A D | github_bug_215.phpt | 14 $bgd = imagecolorallocate( $image, 0, 0, 0 ); 15 $border = imagecolorallocate( $image, 255, 0, 0 ); 16 $fillcolor = imagecolorallocate( $image, 255, 0, 0 );
|
H A D | imagegammacorrect_variation2.phpt | 52 return imagecolorallocate($im, $channel, $channel, $channel); 54 return imagecolorallocate($im, $channel, 0, 0); 56 return imagecolorallocate($im, 0, $channel, 0); 58 return imagecolorallocate($im, 0, 0, $channel);
|
H A D | imagepolygon_aa.phpt | 10 $white = imagecolorallocate($im, 255, 255, 255); 11 $black = imagecolorallocate($im, 0, 0, 0);
|
H A D | bug72482_2.phpt | 10 imagefilledrectangle($im, 0, 0, 9, 9, imagecolorallocate($im, 255, 255, 255)); 12 imageline($im, 0, 0, 10, 10, imagecolorallocate($im, 0, 0, 0));
|
H A D | imagecolormatch_basic.phpt | 11 $background_color = imagecolorallocate($ima, 0, 0, 0); 13 $background_color = imagecolorallocate($imb, 0, 0, 100);
|
H A D | bug53156.phpt | 37 $bgnd = imagecolorallocate($img, 255, 255, 255); 38 $black = imagecolorallocate($img, 0, 0, 0); 39 $red = imagecolorallocate($img, 255, 0, 0);
|
H A D | bug28147.phpt | 11 $w = imagecolorallocate($im, 255, 255, 255); 12 $red = imagecolorallocate($im, 255, 0, 0);
|
H A D | imagebmp_basic.phpt | 13 imagecolorallocate($im, 0, 0, 0); 14 $white = imagecolorallocate($im, 255, 255, 255);
|