/PHP-7.4/ext/gd/tests/ |
H A D | imagecolorallocate_variation6.phpt | 14 /* Prototype : int imagecolorallocate(resource im, int red, int green, int blue) 18 echo "*** Testing imagecolorallocate() : usage variations ***\n"; 37 var_dump( imagecolorallocate($im_palette, $value, 0, 0) ); 38 var_dump( imagecolorallocate($im_true_color, $value, 0, 0) ); 39 var_dump( imagecolorallocate($im_palette, 0, $value, 0) ); 40 var_dump( imagecolorallocate($im_true_color, 0, $value, 0) ); 41 var_dump( imagecolorallocate($im_palette, 0, 0, $value) ); 42 var_dump( imagecolorallocate($im_true_color, 0, 0, $value) ); 47 *** Testing imagecolorallocate() : usage variations *** 51 Warning: imagecolorallocate(): Red component is out of range in %s on line %d [all …]
|
H A D | imagecolorallocate_basic.phpt | 2 Test imagecolorallocate() function : basic functionality 14 /* Prototype : int imagecolorallocate(resource im, int red, int green, int blue) 19 echo "*** Testing imagecolorallocate() : basic functionality ***\n"; 22 // Calling imagecolorallocate() with all possible arguments 23 var_dump( imagecolorallocate($im, 255, 0, 0) ); 24 var_dump( imagecolorallocate($im, 0, 255, 0) ); 25 var_dump( imagecolorallocate($im, 0, 0, 255) ); 26 var_dump( imagecolorallocate($im, 255, 255, 255) ); 30 *** Testing imagecolorallocate() : basic functionality ***
|
H A D | test_image_equals_file_palette.phpt | 12 imagecolorallocate($im, 255, 255, 255); 13 $red = imagecolorallocate($im, 255, 0, 0); 20 imagecolorallocate($im, 255, 255, 255); 21 $blue = imagecolorallocate($im, 0, 0, 255); 27 imagecolorallocate($im, 255, 255, 255); 28 imagecolorallocate($im, 0, 0, 0); 29 $red = imagecolorallocate($im, 255, 0, 0);
|
H A D | imagecolorallocate_variation5.phpt | 2 Test imagecolorallocate() function : usage variations - passing octal and hexa-decimal values 14 /* Prototype : int imagecolorallocate(resource im, int red, int green, int blue) 18 echo "*** Testing imagecolorallocate() : usage variations ***\n"; 42 var_dump( imagecolorallocate($im, $value, $green, $blue) ); 43 var_dump( imagecolorallocate($im, $red, $value, $blue) ); 44 var_dump( imagecolorallocate($im, $red, $green, $value) ); 49 *** Testing imagecolorallocate() : usage variations *** 63 Warning: imagecolorallocate(): Red component is out of range in %s on line %d 69 Warning: imagecolorallocate(): Blue component is out of range in %s on line %d 89 Warning: imagecolorallocate(): Red component is out of range in %s on line %d [all …]
|
H A D | imageopenpolygon_basic.phpt | 12 $white = imagecolorallocate($im, 255, 255, 255); 13 $black = imagecolorallocate($im, 0, 0, 0); 14 $red = imagecolorallocate($im, 255, 0, 0); 15 $green = imagecolorallocate($im, 0, 128, 0); 16 $blue = imagecolorallocate($im, 0, 0, 255);
|
H A D | imagefilltoborder_basic.phpt | 16 imagefilledrectangle( $image, 0, 0, 100, 100, imagecolorallocate( $image, 255, 255, 255 ) ); 19 imageellipse( $image, 50, 50, 50, 50, imagecolorallocate( $image, 0, 0, 0 ) ); 22 imagefilltoborder( $image, 50, 50, imagecolorallocate( $image, 0, 0, 0 ), imagecolorallocate( $imag…
|
H A D | imagefilltoborder_error6.phpt | 16 imagefilledrectangle( $image, 0, 0, 100, 100, imagecolorallocate( $image, 255, 255, 255 ) ); 19 imageellipse( $image, 50, 50, 50, 50, imagecolorallocate( $image, 0, 0, 0 ) ); 23 imagefilltoborder( $image_foo, 50, 50, imagecolorallocate( $image, 0, 0, 0 ), imagecolorallocate( $…
|
H A D | libgd00186.phpt | 11 $red = imagecolorallocate($tile,0xff,0,0); 12 $green = imagecolorallocate($tile,0,0xff,0); 13 $blue = imagecolorallocate($tile,0,0,0xff); 14 $other = imagecolorallocate($tile,0,0,0x2);
|
H A D | webp_basic.phpt | 19 $white = imagecolorallocate($im1, 255, 255, 255); 20 $red = imagecolorallocate($im1, 255, 0, 0); 21 $green = imagecolorallocate($im1, 0, 255, 0); 22 $blue = imagecolorallocate($im1, 0, 0, 255);
|
H A D | imagefill_1.phpt | 15 $white = imagecolorallocate($im, 255,255,255); 16 $blue = imagecolorallocate($im, 0,0,255); 17 $green = imagecolorallocate($im, 0,255,0);
|
H A D | imagecolourstotal_basic.phpt | 27 $bg = imagecolorallocate( $img, 255, 255, 255 ); 29 $bg = imagecolorallocate( $img, 255, 0, 0 ); 30 $bg = imagecolorallocate( $img, 0, 0, 255 ); 37 $bg = imagecolorallocate( $img, 255, 255, 255 );
|
H A D | copy.phpt | 56 $c0 = imagecolorallocate($src_tc, 0xff, 0xff, 0xff); 57 $c1 = imagecolorallocate($src_tc, 0xff, 0x00, 0x00); 58 $c2 = imagecolorallocate($src_tc, 0x00, 0x00, 0xff); 59 $c3 = imagecolorallocate($src_tc, 0x00, 0xff, 0x00); 85 $c0 = imagecolorallocate($src_tc, 0xff, 0xff, 0xff); 86 $c1 = imagecolorallocate($src_tc, 0xff, 0x00, 0x00); 87 $c2 = imagecolorallocate($src_tc, 0x00, 0x00, 0xff); 88 $c3 = imagecolorallocate($src_tc, 0x00, 0xff, 0x00);
|
H A D | copyresized.phpt | 54 $white = imagecolorallocate($src_tc, 255,255,255); 55 $red = imagecolorallocate($src_tc, 255,0,0); 70 $white = imagecolorallocate($src_tc, 255,255,255); 71 $red = imagecolorallocate($src_tc, 255,0,0); 80 $white = imagecolorallocate($src_tc, 255,255,255); 81 $red = imagecolorallocate($src_tc, 255,0,0);
|
H A D | bug40764.phpt | 10 $white = imagecolorallocate($image, 255, 255, 255); 11 $black = imagecolorallocate($image, 0, 0, 0); 12 $red = imagecolorallocate($image, 255, 0, 0);
|
H A D | bug73614.phpt | 14 $white = imagecolorallocate($image, 0xFF, 0xFF, 0xFF); 15 $navy = imagecolorallocate($image, 0x00, 0x00, 0x80); 16 $red = imagecolorallocate($image, 0xFF, 0x00, 0x00);
|
H A D | bug77200.phpt | 12 $red = imagecolorallocate($orig, 255, 0, 0); 13 $green = imagecolorallocate($orig, 0, 255, 0); 14 $blue = imagecolorallocate($orig, 0, 0, 255);
|
H A D | bug67447.phpt | 13 $red = imagecolorallocate($image, 255, 0, 0); 22 imagecolorallocate($image, 0, 0, 255); // first palette color = background 23 $red = imagecolorallocate($image, 255, 0, 0);
|
H A D | gif.phpt | 48 $c = imagecolorallocate($im, 255,255,255); 57 $c = imagecolorallocate($im, $i,$i,$i); 69 $c = imagecolorallocate($im, $i,$i,$i); 81 $c = imagecolorallocate($im, $i,$i,$i); 93 $c = imagecolorallocate($im, $i,$i,$i); 104 $c = imagecolorallocate($im, $i,$i,$i); 115 $c = imagecolorallocate($im, $i,$i,$i);
|
H A D | github_bug_215.phpt | 13 $bgd = imagecolorallocate( $image, 0, 0, 0 ); 14 $border = imagecolorallocate( $image, 255, 0, 0 ); 15 $fillcolor = imagecolorallocate( $image, 255, 0, 0 );
|
H A D | imagegammacorrect_variation2.phpt | 54 return imagecolorallocate($im, $channel, $channel, $channel); 56 return imagecolorallocate($im, $channel, 0, 0); 58 return imagecolorallocate($im, 0, $channel, 0); 60 return imagecolorallocate($im, 0, 0, $channel);
|
H A D | imagepolygon_aa.phpt | 12 $white = imagecolorallocate($im, 255, 255, 255); 13 $black = imagecolorallocate($im, 0, 0, 0);
|
H A D | imagecolormatch_basic.phpt | 13 $background_color = imagecolorallocate($ima, 0, 0, 0); 15 $background_color = imagecolorallocate($imb, 0, 0, 100);
|
H A D | bug53156.phpt | 36 $bgnd = imagecolorallocate($img, 255, 255, 255); 37 $black = imagecolorallocate($img, 0, 0, 0); 38 $red = imagecolorallocate($img, 255, 0, 0);
|
H A D | imagebmp_basic.phpt | 12 imagecolorallocate($im, 0, 0, 0); 13 $white = imagecolorallocate($im, 255, 255, 255);
|
H A D | bug28147.phpt | 13 $w = imagecolorallocate($im, 255, 255, 255); 14 $red = imagecolorallocate($im, 255, 0, 0);
|