Home
last modified time | relevance | path

Searched refs:img (Results 1 – 25 of 41) sorted by relevance

12

/PHP-5.3/ext/gd/tests/
H A Dimagecolourstotal_basic.phpt25 $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 Dimagecolorallocatealpha_basic.phpt11 $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 Dbug39273.phpt20 $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 Dbug51263.phpt14 $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 Dimagecolorallocatealpha_error2.phpt11 $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 Dimagecolorallocatealpha_error3.phpt11 $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 Dimagecolorallocatealpha_error4.phpt11 $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 Dimagecolorallocatealpha_error5.phpt11 $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 Dimagesetbrush_basic.phpt15 $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 Dbug45799.phpt9 $img = imagecreate(500,500);
10 imagepng($img);
11 imagedestroy($img);
H A Dimagecreatetruecolor_basic.phpt16 $img = ob_get_contents();
19 echo md5(base64_encode($img));
H A Dimagechar_basic.phpt19 $img = ob_get_contents();
22 echo md5(base64_encode($img));
H A Dimagecharup_basic.phpt19 $img = ob_get_contents();
22 echo md5(base64_encode($img));
H A Dimageellipse_basic.phpt21 $img = ob_get_contents();
24 echo md5(base64_encode($img));
H A Dimagestring_basic.phpt19 $img = ob_get_contents();
22 echo md5(base64_encode($img));
H A Dimagestringup_basic.phpt19 $img = ob_get_contents();
22 echo md5(base64_encode($img));
H A Dimagerectangle_basic.phpt20 $img = ob_get_contents();
23 echo md5(base64_encode($img));
H A Dimagearc_basic.phpt22 $img = ob_get_contents();
25 echo md5(base64_encode($img));
H A Dimagelayereffect_basic.phpt20 $img = ob_get_contents();
24 echo md5(base64_encode($img));
H A Dimagefilledarc_basic.phpt22 $img = ob_get_contents();
25 echo md5(base64_encode($img));
H A Dimagegammacorrect_basic.phpt25 $img = ob_get_contents();
29 echo md5(base64_encode($img));
/PHP-5.3/ext/standard/tests/strings/
H A Dstrip_tags_variation11.phpt12 'hello <img title="<"> world',
13 'hello <img title=">"> world',
14 'hello <img title=">_<"> world',
15 "hello <img title='>_<'> world"
/PHP-5.3/ext/simplexml/tests/
H A Dbug41175.phpt8 $xml = new SimpleXmlElement("<img></img>");
17 <img src="foo" alt=""/>
/PHP-5.3/ext/filter/tests/
H A D015.phpt11 '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.3/ext/dom/tests/
H A DDOMDocumentType_basic_001.phpt25 $xml .= '<!DOCTYPE img [';
26 $xml .= ' <!ELEMENT img EMPTY>';
27 $xml .= ' <!ATTLIST img src ENTITY #REQUIRED>';
31 $xml .= '<img src="logo"/>';

Completed in 52 milliseconds

12