Home
last modified time | relevance | path

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

123

/php-src/ext/gd/tests/
H A Dbug24594.phpt26 $res = imagecolorat($base,0,10)==$black?'1':'0';
27 $res .= imagecolorat($base,0,20)==$black?'1':'0';
28 $res .= imagecolorat($base,0,30)==$black?'1':'0';
29 $res .= imagecolorat($base,0,40)==$black?'1':'0';
30 $res .= imagecolorat($base,0,50)==$black?'1':'0';
31 $res .= imagecolorat($base,0,60)==$black?'1':'0';
33 $res .= imagecolorat($base,11,12)==$white?'1':'0';
34 $res .= imagecolorat($base,12,13)==$white?'1':'0';
35 $res .= imagecolorat($base,13,14)==$white?'1':'0';
36 $res .= imagecolorat($base,14,15)==$white?'1':'0';
[all …]
H A Ddashedlines.phpt18 $p1 = imagecolorat($im, 0,5) == $r;
19 $p2 = imagecolorat($im, 1,5) == $b;
20 $p3 = imagecolorat($im, 2,5) == $r;
21 $p4 = imagecolorat($im, 3,5) == $b;
22 $p5 = imagecolorat($im, 4,5) == $r;
23 $p5 = imagecolorat($im, 5,5) == $b;
39 $p1 = imagecolorat($im, 2,0) == $r;
40 $p2 = imagecolorat($im, 2,1) == $b;
41 $p3 = imagecolorat($im, 2,2) == $r;
42 $p4 = imagecolorat($im, 2,3) == $b;
[all …]
H A Dlines.phpt13 $p1 = imagecolorat($im, 0,5)==0x00ff00;
14 $p2 = imagecolorat($im, 5,5)==0x00ff00;
17 $p3 = $p3 && (imagecolorat($im, $x,5)==0x00ff00);
27 $p1 = imagecolorat($im, 0,0)==0x00ff00;
28 $p2 = imagecolorat($im, 0,5)==0x00ff00;
31 $p3 = $p3 && (imagecolorat($im, 0,$y)==0x00ff00);
45 $p1 = imagecolorat($im, 0,0)==0x00ff00;
46 $p2 = imagecolorat($im, 5,5)==0x00ff00;
51 $p3 = $p3 && (imagecolorat($im, $x,$y)==0x00ff00);
66 $p3 = $p3 && (imagecolorat($im, $x,$y)!=0x00ff00);
[all …]
H A Dcopy.phpt17 $p1 = imagecolorat($dst_tc, 3,3) == 0xff0000;
18 $p2 = imagecolorat($dst_tc, 0,0) == 0x0000ff;
19 $p3 = imagecolorat($dst_tc, 4,4) == 0x00ff00;
38 $c1 = imagecolorsforindex($dst_tc, imagecolorat($dst_tc, 3,3));
39 $c2 = imagecolorsforindex($dst_tc, imagecolorat($dst_tc, 0,0));
40 $c3 = imagecolorsforindex($dst_tc, imagecolorat($dst_tc, 4,4));
67 $c1 = imagecolorsforindex($dst_tc, imagecolorat($dst_tc, 3,3));
68 $c2 = imagecolorsforindex($dst_tc, imagecolorat($dst_tc, 0,0));
95 $p1 = imagecolorat($dst_tc, 3,3) == 0xff0000;
96 $p2 = imagecolorat($dst_tc, 0,0) == 0x0000ff;
[all …]
H A Dlibgd00106.phpt9 $c1 = imagecolorat($im, 1,1);
10 $c2 = imagecolorat($im, 1,2);
11 $c3 = imagecolorat($im, 2,1);
12 $c4 = imagecolorat($im, 2,2);
H A Dbug53154.phpt16 var_dump(imagecolorat($im, 5, 4) !== $red);
17 var_dump(imagecolorat($im, 5, 6) !== $red);
18 var_dump(imagecolorat($im, 95, 4) !== $red);
19 var_dump(imagecolorat($im, 95, 6) !== $red);
H A Dimageflip.phpt19 var_dump(dechex(imagecolorat($im, 0, 0)));
20 var_dump(dechex(imagecolorat($im, 0, 98)));
21 var_dump(dechex(imagecolorat($im, 98, 0)));
22 var_dump(dechex(imagecolorat($im, 98, 98)));
H A Dcolorat.phpt2 imagecolorat
15 $c = imagecolorat($im, 3,3);
28 $c = imagecolorsforindex($im, imagecolorat($im, 3,3));
H A Dimagefill_1.phpt18 print_r(imagecolorat($im, 0,0));
20 print_r(imagecolorat($im, 0,0));
H A Dbug40764.phpt24 print_r(imagecolorat($image, 195, 0));
25 print_r(imagecolorat($image, 0, 195));
H A Dbug36697-mb.phpt14 $c = imagecolorat($im, 191,35);
18 $c = imagecolorat($im, 191, 35);
H A Dbug36697.phpt14 $c = imagecolorat($im, 191,35);
18 $c = imagecolorat($im, 191, 35);
H A Dimagesetclip_basic.phpt19 var_dump(imagecolorat($im, 9,9) !== $white);
20 var_dump(imagecolorat($im, 90,90) !== $white);
H A Dcreatefromgd2.phpt18 echo imagecolorat($im2, 4,4) == 0xffffff ? 'ok' : 'failed';
23 echo imagecolorat($im2, 4,4) == 0xffffff ? 'ok' : 'failed';
H A Dbug67447.phpt12 var_dump(imagecolorat($cropped, 249, 249) === $red);
22 var_dump(imagecolorsforindex($cropped, imagecolorat($cropped, 249, 249)));
H A Dimagefilledpolygon_basic.phpt47 $col1 = imagecolorat($image_in, 40, 50);
49 $col2 = imagecolorat($image_in, 15, 15);
51 $col3 = imagecolorat($image_in, 5, 5);
H A Dbug73281.phpt20 printf("%3d, %3d: %x\n", $x, $y, imagecolorat($dst, $x, $y));
30 printf("%3d, %3d: %x\n", $x, $y, imagecolorat($dst, $x, $y));
H A Dimagepolygon_basic.phpt39 $col1 = imagecolorat($image, 100, 200);
40 $col2 = imagecolorat($image, 100, 100);
H A Dimagedashedline_basic.phpt36 $col1 = imagecolorat($image, 100, 230);
38 $col2 = imagecolorat($image, 5, 5);
H A Dbug39508.phpt10 print_r(imagecolorat($im, 1,0));
H A Dcreatefromwbmp-mb.phpt11 echo imagecolorat($im2, 3,3) == 0x0 ? 'ok' : 'failed';
H A Dcreatefromwbmp.phpt11 echo imagecolorat($im2, 3,3) == 0x0 ? 'ok' : 'failed';
H A Dbug42434.phpt13 if (imagecolorat($im, 9, 0) == 0x000000) {
H A Dcreatefromstring.phpt21 if (imagecolorat($im, 3,3) != 0x0) {
43 $c = imagecolorsforindex($im, imagecolorat($im, 3,3));
H A Dsimilarity.inc58 $color1 = imagecolorat($image1, $i, $j);
59 $color2 = imagecolorat($image2, $i, $j);

Completed in 31 milliseconds

123