/PHP-8.0/ext/gd/tests/ |
H A D | bug24594.phpt | 30 $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 D | dashedlines.phpt | 20 $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 D | lines.phpt | 15 $p1 = imagecolorat($im, 0,5)==0x00ff00; 16 $p2 = imagecolorat($im, 5,5)==0x00ff00; 19 $p3 = $p3 && (imagecolorat($im, $x,5)==0x00ff00); 29 $p1 = imagecolorat($im, 0,0)==0x00ff00; 30 $p2 = imagecolorat($im, 0,5)==0x00ff00; 33 $p3 = $p3 && (imagecolorat($im, 0,$y)==0x00ff00); 47 $p1 = imagecolorat($im, 0,0)==0x00ff00; 48 $p2 = imagecolorat($im, 5,5)==0x00ff00; 53 $p3 = $p3 && (imagecolorat($im, $x,$y)==0x00ff00); 68 $p3 = $p3 && (imagecolorat($im, $x,$y)!=0x00ff00); [all …]
|
H A D | copy.phpt | 19 $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 D | libgd00106.phpt | 11 $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 D | bug53154.phpt | 15 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 D | imageflip.phpt | 21 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 D | colorat.phpt | 2 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 D | imagefill_1.phpt | 19 print_r(imagecolorat($im, 0,0)); 21 print_r(imagecolorat($im, 0,0));
|
H A D | bug36697-mb.phpt | 18 $c = imagecolorat($im, 191,35); 22 $c = imagecolorat($im, 191, 35);
|
H A D | bug36697.phpt | 18 $c = imagecolorat($im, 191,35); 22 $c = imagecolorat($im, 191, 35);
|
H A D | createfromgd2.phpt | 13 echo imagecolorat($im2, 4,4) == 0xffffff ? 'ok' : 'failed'; 18 echo imagecolorat($im2, 4,4) == 0xffffff ? 'ok' : 'failed';
|
H A D | imagesetclip_basic.phpt | 21 var_dump(imagecolorat($im, 9,9) !== $white); 22 var_dump(imagecolorat($im, 90,90) !== $white);
|
H A D | bug40764.phpt | 26 print_r(imagecolorat($image, 195, 0)); 27 print_r(imagecolorat($image, 0, 195));
|
H A D | imagefilledpolygon_basic.phpt | 42 $col1 = imagecolorat($image_in, 40, 50); 44 $col2 = imagecolorat($image_in, 15, 15); 46 $col3 = imagecolorat($image_in, 5, 5);
|
H A D | bug67447.phpt | 16 var_dump(imagecolorat($cropped, 249, 249) === $red); 26 var_dump(imagecolorsforindex($cropped, imagecolorat($cropped, 249, 249)));
|
H A D | bug73281.phpt | 19 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 D | imagepolygon_basic.phpt | 34 $col1 = imagecolorat($image, 100, 200); 35 $col2 = imagecolorat($image, 100, 100);
|
H A D | imagedashedline_basic.phpt | 31 $col1 = imagecolorat($image, 100, 230); 33 $col2 = imagecolorat($image, 5, 5);
|
H A D | bug39508.phpt | 12 print_r(imagecolorat($im, 1,0));
|
H A D | createfromwbmp.phpt | 13 echo imagecolorat($im2, 3,3) == 0x0 ? 'ok' : 'failed';
|
H A D | createfromwbmp-mb.phpt | 13 echo imagecolorat($im2, 3,3) == 0x0 ? 'ok' : 'failed';
|
H A D | createfromstring.phpt | 20 if (imagecolorat($im, 3,3) != 0x0) { 42 $c = imagecolorsforindex($im, imagecolorat($im, 3,3));
|
H A D | similarity.inc | 58 $color1 = imagecolorat($image1, $i, $j); 59 $color2 = imagecolorat($image2, $i, $j);
|
H A D | bug42434.phpt | 17 if (imagecolorat($im, 9, 0) == 0x000000) {
|