/PHP-5.6/ext/gd/tests/ |
H A D | imagecolourstotal_basic.phpt | 25 $img = imagecreate( 50, 50 ); 26 var_dump( imagecolorstotal( $img ) ); 28 var_dump( imagecolorstotal( $img )); 29 $bg = imagecolorallocate( $img, 255, 0, 0 ); 30 $bg = imagecolorallocate( $img, 0, 0, 255 ); 31 var_dump( imagecolorstotal( $img )); 32 imagedestroy( $img ); 35 $img = imagecreatetruecolor( 50, 50 ); 36 var_dump( imagecolorstotal( $img ) ); 38 var_dump( imagecolorstotal( $img ) ); [all …]
|
H A D | bug61221.phpt | 11 $img = imagecreatetruecolor($imagew, $imageh); 12 $blacktransparent = imagecolorallocatealpha($img, 0, 0, 0, 127); 13 $redsolid = imagecolorallocate($img, 255, 0, 0); 14 imagefill($img, 0, 0, $blacktransparent); 15 imageline($img, $imagew / 2, 0, $imagew / 2, $imageh - 1, $redsolid); 16 imageline($img, 0, $imageh / 2, $imagew - 1, $imageh / 2, $redsolid); 17 imagegammacorrect($img, 1, 1); 18 $color = imagecolorat($img, 0, 0); 20 imagedestroy($img);
|
H A D | bug53156.phpt | 14 global $img, $black, $red; 16 echo (imagecolorat($img, $x, $y) === $black) ? '+' : '-'; 17 imagesetpixel($img, $x, $y, $red); 22 global $img, $black; 25 imagerectangle($img, $x1, $y1, $x2, $y2, $black); 35 $img = imagecreate(110, 210); 36 $bgnd = imagecolorallocate($img, 255, 255, 255); 37 $black = imagecolorallocate($img, 0, 0, 0); 38 $red = imagecolorallocate($img, 255, 0, 0); 44 imagesetthickness($img, 4); [all …]
|
H A D | bug72482.phpt | 9 $img = imagecreatetruecolor(13, 1007); 10 imageantialias($img, true); 11 imageline($img, 0, 0, 1073745919, 1073745919, 4096); 13 $img = imagecreatetruecolor(100, 100); 14 imageantialias($img, true); 15 imageline($img, 1094795585, 0, 2147483647, 255, 0xff);
|
H A D | imagecolorallocatealpha_basic.phpt | 14 $img = imagecreatetruecolor(150, 150); 16 $cor = imagecolorallocate($img, 50, 100, 255); 17 $corA = imagecolorallocatealpha($img, 50, 100, 255, 50); 18 //$whiteA = imagecolorallocatealpha($img, 255, 255, 255, 127); 20 $half = imagefilledarc ( $img, 75, 75, 70, 70, 0, 180, $cor, IMG_ARC_PIE ); 21 $half2 = imagefilledarc ( $img, 75, 75, 70, 70, 180, 360, $corA, IMG_ARC_PIE ); 24 test_image_equals_file(__DIR__ . '/imagecolorallocatealpha_basic.png', $img);
|
H A D | bug39273.phpt | 20 $img = imagecreatetruecolor($width, $height); 22 imagecolortransparent($img, 0); 23 imagealphablending($img, false); 24 imagecopyresized($img, $small, 0,0, 0,0, $width, $height, $srcw, $srch); 25 imagesavealpha($img, 1); 27 $c = imagecolorat($img, 0,0);
|
H A D | bug51263.phpt | 14 $img = imagecreatetruecolor($w, $h); 15 $blk = imagecolorallocate($img, 0, 0, 0); 16 imagefilledrectangle($img, 0, 0, $w-1, $h-1, $blk); 17 $col = imagecolorallocate($img, 255, 255, 255); 18 imagettftext($img, 8, 90, 10, 60, $col, $ttf, "foo bar qux"); 22 $c = imagecolorat($img, $i, $j);
|
H A D | bug66356.phpt | 9 $img = imagecreatetruecolor(10, 10); 12 var_dump(imagecrop($img, array("x" => "a", "y" => 0, "width" => 10, "height" => 10))); 15 var_dump(imagecrop($img, $arr)); 19 var_dump(imagecrop($img, array("x" => 0, "y" => 0, "width" => -1, "height" => 10))); 22 var_dump(imagecrop($img, array("x" => -20, "y" => -20, "width" => 10, "height" => 10))); 25 var_dump(imagecrop($img, array("x" => 0x7fffff00, "y" => 0, "width" => 10, "height" => 10))); 28 var_dump(imagecrop($img, array("x" => 0, "y" => 0, "width" => 65535, "height" => 65535)));
|
H A D | bug72512.phpt | 12 $img = imagecreatetruecolor(100, 100); 13 imagecolortransparent($img, -1000000); 14 imagetruecolortopalette($img, TRUE, 3); 15 imagecolortransparent($img, 9);
|
H A D | bug72512_0.phpt | 13 $img = imagecreatetruecolor(13, 1007); 15 imagecolortransparent($img, -10066304); 16 imagetruecolortopalette($img, TRUE, 3); 17 imagescale($img, 1, 65535);
|
H A D | bug72512_1.phpt | 13 $img = imagecreatetruecolor(100, 100); 14 imagecolortransparent($img, -1000000); 15 imagetruecolortopalette($img, TRUE, 3); 16 imagecolortransparent($img, 9);
|
H A D | bug72298.phpt | 9 $img = imagecreatetruecolor (1 , 1); 10 imagecolortransparent($img, 0); 11 imagetruecolortopalette($img, false, 4);
|
H A D | imagecolorallocatealpha_error5.phpt | 11 $img = imagecreatetruecolor(200, 200); 13 imagecolorallocatealpha($img, 255, 255, 255, 'string-non-numeric'); 14 imagecolorallocatealpha($img, 255, 255, 255, array()); 15 imagecolorallocatealpha($img, 255, 255, 255, tmpfile());
|
H A D | imagecolorallocatealpha_error2.phpt | 11 $img = imagecreatetruecolor(200, 200); 13 imagecolorallocatealpha($img, 'string-non-numeric', 255, 255, 50); 14 imagecolorallocatealpha($img, array(), 255, 255, 50); 15 imagecolorallocatealpha($img, tmpfile(), 255, 255, 50);
|
H A D | imagecolorallocatealpha_error3.phpt | 11 $img = imagecreatetruecolor(200, 200); 13 imagecolorallocatealpha($img, 255, 'string-non-numeric', 255, 50); 14 imagecolorallocatealpha($img, 255, array(), 255, 50); 15 imagecolorallocatealpha($img, 255, tmpfile(), 255, 50);
|
H A D | imagecolorallocatealpha_error4.phpt | 11 $img = imagecreatetruecolor(200, 200); 13 imagecolorallocatealpha($img, 255, 255, 'string-non-numeric', 50); 14 imagecolorallocatealpha($img, 255, 255, array(), 50); 15 imagecolorallocatealpha($img, 255, 255, tmpfile(), 50);
|
H A D | imagesetbrush_basic.phpt | 15 $img = imagecreate(10, 10); 20 $white = imagecolorallocate($img, 255, 0, 0); 21 imagefilledrectangle($img, 0, 0, 299, 99, $white); 24 imagesetbrush($mainimg, $img);
|
H A D | bug45799.phpt | 9 $img = imagecreate(500,500); 10 imagepng($img); 11 imagedestroy($img);
|
H A D | bug72227.phpt | 10 $img = imagecreatetruecolor ( 100, 100); 11 imagescale($img, 13, 1, IMG_BICUBIC);
|
H A D | bug70976.phpt | 9 $img = imagerotate(imagecreate(10,10),45,0x7ffffff9); 10 var_dump($img);
|
/PHP-5.6/ext/standard/tests/strings/ |
H A D | strip_tags_variation11.phpt | 12 'hello <img title="<"> world', 13 'hello <img title=">"> world', 14 'hello <img title=">_<"> world', 15 "hello <img title='>_<'> world"
|
/PHP-5.6/ext/simplexml/tests/ |
H A D | bug41175.phpt | 8 $xml = new SimpleXmlElement("<img></img>"); 17 <img src="foo" alt=""/>
|
/PHP-5.6/ext/standard/tests/image/ |
H A D | getimagesizefromstring1.phpt | 5 $img = __DIR__ . '/test.gif'; 7 $i1 = getimagesize($img); 9 $data = file_get_contents($img);
|
/PHP-5.6/ext/filter/tests/ |
H A D | 015.phpt | 11 'http://www.example/img/test.png', 12 'http://www.example/img/dir/', 13 'http://www.example/img/dir', 56 string(31) "http://www.example/img/test.png" 57 string(27) "http://www.example/img/dir/" 58 string(26) "http://www.example/img/dir"
|
/PHP-5.6/ext/dom/tests/ |
H A D | DOMDocumentType_basic_001.phpt | 25 $xml .= '<!DOCTYPE img ['; 26 $xml .= ' <!ELEMENT img EMPTY>'; 27 $xml .= ' <!ATTLIST img src ENTITY #REQUIRED>'; 31 $xml .= '<img src="logo"/>';
|