Home
last modified time | relevance | path

Searched refs:imagepng (Results 1 – 25 of 34) sorted by relevance

12

/PHP-8.1/ext/gd/tests/
H A Dbug45799.phpt2 Bug #45799 (imagepng() crashes on empty image).
8 imagepng($img);
12 Warning: imagepng(): gd-png error: no colors in palette%win %s on line %d
H A Dimagefilter.phpt27 imagepng($im, $SAVE_DIR."/".$filt. ".png");
38 imagepng($im, $SAVE_DIR . "/IMG_FILTER_SMOOTH.png");
48 imagepng($im, $SAVE_DIR . "/IMG_FILTER_COLORIZE.png");
58 imagepng($im, $SAVE_DIR . "/IMG_FILTER_CONTRAST.png");
68 imagepng($im, $SAVE_DIR . "/IMG_FILTER_BRIGHTNESS.png");
78 imagepng($im, $SAVE_DIR . "/IMG_FILTER_PIXELATE.png");
88 imagepng($im, $SAVE_DIR . "/IMG_FILTER_SCATTER.png");
H A Dimagepng_nullbyte_injection.phpt2 Testing null byte injection in imagepng
16 imagepng($image, "./foo\0bar");
22 imagepng(): Argument #2 ($file) must not contain null bytes
H A Dbug74031.phpt2 (Bug #74031) ReflectionFunction for imagepng returns wrong number of parameters
8 $ref = new ReflectionFunction('imagepng');
H A Dbug73549.phpt2 Bug #73549 (Use after free when stream is passed to imagepng)
9 var_dump(imagepng($im, $stream));
H A Dimageresolution_png.phpt13 imagepng($exp, $filename);
18 imagepng($exp, $filename);
H A Dpngcomp.phpt7 if (!function_exists("imagecreatefrompng") || !function_exists("imagepng")) {
19 imagepng($im, $cwd . '/test_pngcomp.png', 9);
H A Dxpm2png.phpt7 if (!function_exists("imagepng")) {
19 …echo imagepng(imagecreatefromxpm($cwd . "/conv_test.xpm"), $cwd . "/test_xpm.png") ? 'ok' : 'faile…
H A Dgif2png.phpt7 if (!function_exists("imagepng")) {
19 …echo imagepng(imagecreatefromgif($cwd . "/conv_test.gif"), $cwd . "/test_gif.png") ? 'ok' : 'faile…
H A Dxbm2png.phpt7 if (!function_exists("imagepng")) {
19 …echo imagepng(imagecreatefromxbm($cwd . "/conv_test.xbm"), $cwd . "/test_xbm.png") ? 'ok' : 'faile…
H A Djpeg2png.phpt7 if (!function_exists("imagecreatefrompng") || !function_exists("imagepng")) {
23 …echo imagepng(imagecreatefromjpeg($cwd . "/test_jpeg.jpeg"), $cwd . "/test_jpng.png") ? 'ok' : 'fa…
27 …echo imagepng(imagecreatefromjpeg($cwd . "/conv_test.jpg"), $cwd . "/test_png.png") ? 'ok' : 'fail…
H A Dpng2gd.phpt11 if (!function_exists("imagecreatefrompng") || !function_exists("imagepng")) {
28 …echo imagepng(imagecreatefromgd($cwd . "/test_png.gd1"), $cwd . "/test_gd1.png") ? 'ok' : 'failed';
32 …echo imagepng(imagecreatefromgd2($cwd . "/test_png.gd2"), $cwd . "/test_gd2.png") ? 'ok' : 'failed…
H A Dcreatefromstring.phpt7 if (!function_exists('imagepng')) die("skip no imagpng()\n");
16 imagepng($im, $dir . '/tc.png');
36 imagepng($im, $dir . '/p.png');
H A Dimagecopyresampled_basic.phpt26 imagepng($image_lge, $dest_lge);
40 imagepng($image_sml, $dest_sml);
H A Dimagesetclip_basic.phpt15 // imagepng($im, __FILE__ . '.png');
H A Dtypes.phpt17 if ($flags&0x4 && !function_exists("imagepng")) {
H A Dbug27582_1.phpt15 imagepng($im, $dest);
H A Dbug24155.phpt17 imagepng($im, $dest);
H A Dbug48732.phpt17 imagepng($g, "$cwd/bug48732.png");
H A Dtest_image_equals_file_palette.phpt15 imagepng($im, $filename);
H A Dbug48732-mb.phpt18 imagepng($g, "$cwd/bug48732私はガラスを食べられます.png");
H A Dbug53156.phpt51 //imagepng($img, __DIR__ . '/bug53156.png'); // debug
H A Dimagepolygon_basic.phpt34 imagepng($image, $dest);
H A Dbug43073.phpt56 imagepng($g, "$cwd/bug43073.png");
/PHP-8.1/ext/zip/examples/
H A Dim.php4 imagepng($im, 'a.png');
10 imagepng($im, 'b.png');

Completed in 20 milliseconds

12