Home
last modified time | relevance | path

Searched refs:imagecolorat (Results 1 – 25 of 59) sorted by relevance

123

/PHP-7.2/ext/gd/tests/
H A Dbug24594.phpt30 $res = imagecolorat($base,0,10)==$black?'1':'0';
31 $res .= imagecolorat($base,0,20)==$black?'1':'0';
32 $res .= imagecolorat($base,0,30)==$black?'1':'0';
33 $res .= imagecolorat($base,0,40)==$black?'1':'0';
34 $res .= imagecolorat($base,0,50)==$black?'1':'0';
35 $res .= imagecolorat($base,0,60)==$black?'1':'0';
37 $res .= imagecolorat($base,11,12)==$white?'1':'0';
38 $res .= imagecolorat($base,12,13)==$white?'1':'0';
39 $res .= imagecolorat($base,13,14)==$white?'1':'0';
40 $res .= imagecolorat($base,14,15)==$white?'1':'0';
[all …]
H A Ddashedlines.phpt20 $p1 = imagecolorat($im, 0,5) == $r;
21 $p2 = imagecolorat($im, 1,5) == $b;
22 $p3 = imagecolorat($im, 2,5) == $r;
23 $p4 = imagecolorat($im, 3,5) == $b;
24 $p5 = imagecolorat($im, 4,5) == $r;
25 $p5 = imagecolorat($im, 5,5) == $b;
41 $p1 = imagecolorat($im, 2,0) == $r;
42 $p2 = imagecolorat($im, 2,1) == $b;
43 $p3 = imagecolorat($im, 2,2) == $r;
44 $p4 = imagecolorat($im, 2,3) == $b;
[all …]
H A Dlines.phpt19 $p1 = imagecolorat($im, 0,5)==0x00ff00;
20 $p2 = imagecolorat($im, 5,5)==0x00ff00;
23 $p3 = $p3 && (imagecolorat($im, $x,5)==0x00ff00);
33 $p1 = imagecolorat($im, 0,0)==0x00ff00;
34 $p2 = imagecolorat($im, 0,5)==0x00ff00;
37 $p3 = $p3 && (imagecolorat($im, 0,$y)==0x00ff00);
51 $p1 = imagecolorat($im, 0,0)==0x00ff00;
52 $p2 = imagecolorat($im, 5,5)==0x00ff00;
57 $p3 = $p3 && (imagecolorat($im, $x,$y)==0x00ff00);
72 $p3 = $p3 && (imagecolorat($im, $x,$y)!=0x00ff00);
[all …]
H A Dcopy.phpt19 $p1 = imagecolorat($dst_tc, 3,3) == 0xff0000;
20 $p2 = imagecolorat($dst_tc, 0,0) == 0x0000ff;
21 $p3 = imagecolorat($dst_tc, 4,4) == 0x00ff00;
40 $c1 = imagecolorsforindex($dst_tc, imagecolorat($dst_tc, 3,3));
41 $c2 = imagecolorsforindex($dst_tc, imagecolorat($dst_tc, 0,0));
42 $c3 = imagecolorsforindex($dst_tc, imagecolorat($dst_tc, 4,4));
69 $c1 = imagecolorsforindex($dst_tc, imagecolorat($dst_tc, 3,3));
70 $c2 = imagecolorsforindex($dst_tc, imagecolorat($dst_tc, 0,0));
97 $p1 = imagecolorat($dst_tc, 3,3) == 0xff0000;
98 $p2 = imagecolorat($dst_tc, 0,0) == 0x0000ff;
[all …]
H A Dlibgd00106.phpt11 $c1 = imagecolorat($im, 1,1);
12 $c2 = imagecolorat($im, 1,2);
13 $c3 = imagecolorat($im, 2,1);
14 $c4 = imagecolorat($im, 2,2);
H A Dbug53154.phpt15 var_dump(imagecolorat($im, 5, 4) !== $red);
16 var_dump(imagecolorat($im, 5, 6) !== $red);
17 var_dump(imagecolorat($im, 95, 4) !== $red);
18 var_dump(imagecolorat($im, 95, 6) !== $red);
H A Dimageflip.phpt21 var_dump(dechex(imagecolorat($im, 0, 0)));
22 var_dump(dechex(imagecolorat($im, 0, 98)));
23 var_dump(dechex(imagecolorat($im, 98, 0)));
24 var_dump(dechex(imagecolorat($im, 98, 98)));
H A Dcolorat.phpt2 imagecolorat
5 if (!function_exists('imagecolorat')) die("skip gd extension not available\n");
17 $c = imagecolorat($im, 3,3);
30 $c = imagecolorsforindex($im, imagecolorat($im, 3,3));
H A Dimagefill_1.phpt19 print_r(imagecolorat($im, 0,0));
21 print_r(imagecolorat($im, 0,0));
H A Dimagesetclip_basic.phpt21 var_dump(imagecolorat($im, 9,9) !== $white);
22 var_dump(imagecolorat($im, 90,90) !== $white);
H A Dcreatefromgd2.phpt13 echo imagecolorat($im2, 4,4) == 0xffffff ? 'ok' : 'failed';
18 echo imagecolorat($im2, 4,4) == 0xffffff ? 'ok' : 'failed';
H A Dbug36697-mb.phpt18 $c = imagecolorat($im, 191,35);
22 $c = imagecolorat($im, 191, 35);
H A Dbug36697.phpt18 $c = imagecolorat($im, 191,35);
22 $c = imagecolorat($im, 191, 35);
H A Dbug40764.phpt26 print_r(imagecolorat($image, 195, 0));
27 print_r(imagecolorat($image, 0, 195));
H A Dbug67447.phpt16 var_dump(imagecolorat($cropped, 249, 249) === $red);
26 var_dump(imagecolorsforindex($cropped, imagecolorat($cropped, 249, 249)));
H A Dimagefilledpolygon_basic.phpt48 $col1 = imagecolorat($image_in, 40, 50);
50 $col2 = imagecolorat($image_in, 15, 15);
52 $col3 = imagecolorat($image_in, 5, 5);
H A Dbug73281.phpt19 printf("%3d, %3d: %x\n", $x, $y, imagecolorat($dst, $x, $y));
29 printf("%3d, %3d: %x\n", $x, $y, imagecolorat($dst, $x, $y));
H A Dimagepolygon_basic.phpt43 $col1 = imagecolorat($image, 100, 200);
44 $col2 = imagecolorat($image, 100, 100);
H A Dsimilarity.inc58 $color1 = imagecolorat($image1, $i, $j);
59 $color2 = imagecolorat($image2, $i, $j);
H A Dcreatefromstring.phpt20 if (imagecolorat($im, 3,3) != 0x0) {
42 $c = imagecolorsforindex($im, imagecolorat($im, 3,3));
H A Dimagedashedline_basic.phpt39 $col1 = imagecolorat($image, 100, 230);
41 $col2 = imagecolorat($image, 5, 5);
H A Dbug39508.phpt12 print_r(imagecolorat($im, 1,0));
H A Dcreatefromwbmp-mb.phpt13 echo imagecolorat($im2, 3,3) == 0x0 ? 'ok' : 'failed';
H A Dcreatefromwbmp.phpt13 echo imagecolorat($im2, 3,3) == 0x0 ? 'ok' : 'failed';
H A Dbug42434.phpt17 if (imagecolorat($im, 9, 0) == 0x000000) {

Completed in 30 milliseconds

123