/PHP-8.1/ext/gd/tests/ |
H A D | bug24594.phpt | 26 $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 D | dashedlines.phpt | 18 $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 D | lines.phpt | 13 $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 D | copy.phpt | 17 $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 D | libgd00106.phpt | 9 $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 D | bug53154.phpt | 16 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 D | imageflip.phpt | 19 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 D | colorat.phpt | 2 imagecolorat 15 $c = imagecolorat($im, 3,3); 28 $c = imagecolorsforindex($im, imagecolorat($im, 3,3));
|
H A D | imagefill_1.phpt | 18 print_r(imagecolorat($im, 0,0)); 20 print_r(imagecolorat($im, 0,0));
|
H A D | bug36697-mb.phpt | 14 $c = imagecolorat($im, 191,35); 18 $c = imagecolorat($im, 191, 35);
|
H A D | bug40764.phpt | 24 print_r(imagecolorat($image, 195, 0)); 25 print_r(imagecolorat($image, 0, 195));
|
H A D | imagesetclip_basic.phpt | 19 var_dump(imagecolorat($im, 9,9) !== $white); 20 var_dump(imagecolorat($im, 90,90) !== $white);
|
H A D | bug36697.phpt | 14 $c = imagecolorat($im, 191,35); 18 $c = imagecolorat($im, 191, 35);
|
H A D | createfromgd2.phpt | 18 echo imagecolorat($im2, 4,4) == 0xffffff ? 'ok' : 'failed'; 23 echo imagecolorat($im2, 4,4) == 0xffffff ? 'ok' : 'failed';
|
H A D | bug67447.phpt | 12 var_dump(imagecolorat($cropped, 249, 249) === $red); 22 var_dump(imagecolorsforindex($cropped, imagecolorat($cropped, 249, 249)));
|
H A D | imagefilledpolygon_basic.phpt | 44 $col1 = imagecolorat($image_in, 40, 50); 46 $col2 = imagecolorat($image_in, 15, 15); 48 $col3 = imagecolorat($image_in, 5, 5);
|
H A D | bug73281.phpt | 20 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 D | imagepolygon_basic.phpt | 36 $col1 = imagecolorat($image, 100, 200); 37 $col2 = imagecolorat($image, 100, 100);
|
H A D | imagedashedline_basic.phpt | 33 $col1 = imagecolorat($image, 100, 230); 35 $col2 = imagecolorat($image, 5, 5);
|
H A D | bug39508.phpt | 10 print_r(imagecolorat($im, 1,0));
|
H A D | createfromwbmp-mb.phpt | 11 echo imagecolorat($im2, 3,3) == 0x0 ? 'ok' : 'failed';
|
H A D | createfromwbmp.phpt | 11 echo imagecolorat($im2, 3,3) == 0x0 ? 'ok' : 'failed';
|
H A D | bug42434.phpt | 13 if (imagecolorat($im, 9, 0) == 0x000000) {
|
H A D | createfromstring.phpt | 21 if (imagecolorat($im, 3,3) != 0x0) { 43 $c = imagecolorsforindex($im, imagecolorat($im, 3,3));
|
H A D | similarity.inc | 58 $color1 = imagecolorat($image1, $i, $j); 59 $color2 = imagecolorat($image2, $i, $j);
|