Home
last modified time | relevance | path

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

12

/PHP-8.0/ext/gd/tests/
H A Dbug45799.phpt2 Bug #45799 (imagepng() crashes on empty image).
10 imagepng($img);
14 Warning: imagepng(): gd-png error: no colors in palette in %s on line %d
H A Dimagefilter.phpt28 imagepng($im, $SAVE_DIR."/".$filt. ".png");
39 imagepng($im, $SAVE_DIR . "/IMG_FILTER_SMOOTH.png");
49 imagepng($im, $SAVE_DIR . "/IMG_FILTER_COLORIZE.png");
59 imagepng($im, $SAVE_DIR . "/IMG_FILTER_CONTRAST.png");
69 imagepng($im, $SAVE_DIR . "/IMG_FILTER_BRIGHTNESS.png");
79 imagepng($im, $SAVE_DIR . "/IMG_FILTER_PIXELATE.png");
89 imagepng($im, $SAVE_DIR . "/IMG_FILTER_SCATTER.png");
H A Dimagepng_nullbyte_injection.phpt2 Testing null byte injection in imagepng
15 imagepng($image, "./foo\0bar");
21 imagepng(): Argument #2 ($file) must not contain null bytes
H A Dbug74031.phpt2 (Bug #74031) ReflectionFunction for imagepng returns wrong number of parameters
10 $ref = new ReflectionFunction('imagepng');
H A Dbug73549.phpt2 Bug #73549 (Use after free when stream is passed to imagepng)
11 var_dump(imagepng($im, $stream));
H A Dpng2gd.phpt9 if (!function_exists("imagecreatefrompng") || !function_exists("imagepng")) {
26 …echo imagepng(imagecreatefromgd($cwd . "/test_png.gd1"), $cwd . "/test_gd1.png") ? 'ok' : 'failed';
30 …echo imagepng(imagecreatefromgd2($cwd . "/test_png.gd2"), $cwd . "/test_gd2.png") ? 'ok' : 'failed…
H A Dgif2png.phpt9 if (!function_exists("imagepng")) {
21 …echo imagepng(imagecreatefromgif($cwd . "/conv_test.gif"), $cwd . "/test_gif.png") ? 'ok' : 'faile…
H A Dimageresolution_png.phpt15 imagepng($exp, $filename);
20 imagepng($exp, $filename);
H A Dpngcomp.phpt9 if (!function_exists("imagecreatefrompng") || !function_exists("imagepng")) {
21 imagepng($im, $cwd . '/test_pngcomp.png', 9);
H A Dxbm2png.phpt8 if (!function_exists("imagepng")) {
20 …echo imagepng(imagecreatefromxbm($cwd . "/conv_test.xbm"), $cwd . "/test_xbm.png") ? 'ok' : 'faile…
H A Dxpm2png.phpt9 if (!function_exists("imagepng")) {
21 …echo imagepng(imagecreatefromxpm($cwd . "/conv_test.xpm"), $cwd . "/test_xpm.png") ? 'ok' : 'faile…
H A Djpeg2png.phpt9 if (!function_exists("imagecreatefrompng") || !function_exists("imagepng")) {
25 …echo imagepng(imagecreatefromjpeg($cwd . "/test_jpeg.jpeg"), $cwd . "/test_jpng.png") ? 'ok' : 'fa…
29 …echo imagepng(imagecreatefromjpeg($cwd . "/conv_test.jpg"), $cwd . "/test_png.png") ? 'ok' : 'fail…
H A Dcreatefromstring.phpt6 if (!function_exists('imagepng')) die("skip no imagpng()\n");
15 imagepng($im, $dir . '/tc.png');
35 imagepng($im, $dir . '/p.png');
H A Dimagecopyresampled_basic.phpt28 imagepng($image_lge, $dest_lge);
42 imagepng($image_sml, $dest_sml);
H A Dimagesetclip_basic.phpt17 // imagepng($im, __FILE__ . '.png');
H A Dtypes.phpt19 if ($flags&0x4 && !function_exists("imagepng")) {
H A Dbug24155.phpt18 imagepng($im, $dest);
H A Dbug27582_1.phpt17 imagepng($im, $dest);
H A Dbug48732.phpt16 imagepng($g, "$cwd/bug48732.png");
H A Dbug48732-mb.phpt17 imagepng($g, "$cwd/bug48732私はガラスを食べられます.png");
H A Dtest_image_equals_file_palette.phpt17 imagepng($im, $filename);
H A Dbug53156.phpt50 //imagepng($img, __DIR__ . '/bug53156.png'); // debug
H A Dimagepolygon_basic.phpt32 imagepng($image, $dest);
H A Dimagedashedline_basic.phpt28 imagepng($image, $dest);
/PHP-8.0/ext/zip/examples/
H A Dim.php4 imagepng($im, 'a.png');
10 imagepng($im, 'b.png');

Completed in 19 milliseconds

12