/PHP-5.5/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 | imagecolorallocatealpha_basic.phpt | 11 $img = imagecreatetruecolor(150, 150); 13 $cor = imagecolorallocate($img, 50, 100, 255); 14 $corA = imagecolorallocatealpha($img, 50, 100, 255, 50); 15 //$whiteA = imagecolorallocatealpha($img, 255, 255, 255, 127); 17 $half = imagefilledarc ( $img, 75, 75, 70, 70, 0, 180, $cor, IMG_ARC_PIE ); 18 $half2 = imagefilledarc ( $img, 75, 75, 70, 70, 180, 360, $corA, IMG_ARC_PIE ); 21 imagepng($img, null, 9);
|
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 | bug72512_0.phpt | 10 $img = imagecreatetruecolor(13, 1007); 12 imagecolortransparent($img, -10066304); 13 imagetruecolortopalette($img, TRUE, 3); 14 imagescale($img, 1, 65535);
|
H A D | bug72512_1.phpt | 10 $img = imagecreatetruecolor(100, 100); 11 imagecolortransparent($img, -1000000); 12 imagetruecolortopalette($img, TRUE, 3); 13 imagecolortransparent($img, 9);
|
H A D | bug72512.phpt | 9 $img = imagecreatetruecolor(100, 100); 10 imagecolortransparent($img, -1000000); 11 imagetruecolortopalette($img, TRUE, 3); 12 imagecolortransparent($img, 9);
|
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 | bug72298.phpt | 9 $img = imagecreatetruecolor (1 , 1); 10 imagecolortransparent($img, 0); 11 imagetruecolortopalette($img, false, 4);
|
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 | 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 | 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);
|
H A D | imagecreatetruecolor_basic.phpt | 16 $img = ob_get_contents(); 19 echo md5(base64_encode($img));
|
/PHP-5.5/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.5/ext/simplexml/tests/ |
H A D | bug41175.phpt | 8 $xml = new SimpleXmlElement("<img></img>"); 17 <img src="foo" alt=""/>
|
/PHP-5.5/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.5/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.5/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"/>';
|
/PHP-5.5/ext/gd/libgd/ |
H A D | webpimg.c | 414 if (img) { in VPXDecode() 415 int y_width = img->d_w; in VPXDecode() 416 int y_height = img->d_h; in VPXDecode() 432 img->planes[0] + y * img->stride[0], in VPXDecode() 437 img->planes[1] + y * img->stride[1], in VPXDecode() 440 img->planes[2] + y * img->stride[2], in VPXDecode() 673 vpx_image_t img; in VPXEncode() local 709 vpx_img_wrap(&img, VPX_IMG_FMT_I420, in VPXEncode() 714 img.stride[VPX_PLANE_Y] = y_stride; in VPXEncode() 715 img.stride[VPX_PLANE_U] = uv_stride; in VPXEncode() [all …]
|