Home
last modified time | relevance | path

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

12

/PHP-7.2/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");
H A Dimagepng_nullbyte_injection.phpt2 Testing null byte injection in imagepng
29 imagepng($image, $temp);
34 imagepng TEST
36 Warning: imagepng(): Invalid 2nd parameter, filename must not contain null bytes in %s on line %d
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.gd1"), $cwd . "/test_gd1.png") ? 'ok' : 'failed';
30 echo imagepng(imagecreatefromgd2($cwd . "/test.gd2"), $cwd . "/test_gd2.png") ? 'ok' : 'failed';
H A Dpngcomp.phpt9 if (!function_exists("imagecreatefrompng") || !function_exists("imagepng")) {
21 imagepng($im, $cwd . '/test_pngcomp.png', 9);
H A Dxpm2png.phpt9 if (!function_exists("imagepng")) {
21 …echo imagepng(imagecreatefromxpm($cwd . "/conv_test.xpm"), $cwd . "/test_xpm.png") ? 'ok' : 'faile…
H A Dxbm2png.phpt8 if (!function_exists("imagepng")) {
20 …echo imagepng(imagecreatefromxbm($cwd . "/conv_test.xbm"), $cwd . "/test_xbm.png") ? 'ok' : 'faile…
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 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.jpeg"), $cwd . "/test_png.png") ? 'ok' : 'fai…
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.phpt34 imagepng($image_lge, $dest_lge);
48 imagepng($image_sml, $dest_sml);
H A Dtypes.phpt19 if ($flags&0x4 && !function_exists("imagepng")) {
H A Dimagesetclip_basic.phpt17 // imagepng($im, __FILE__ . '.png');
H A Dbug24155.phpt18 imagepng($im, $dest);
H A Dbug27582_1.phpt18 imagepng($im, $dest);
H A Dbug48732.phpt16 imagepng($g, "$cwd/bug48732.png");
H A Dtest_image_equals_file_palette.phpt17 imagepng($im, $filename);
H A Dbug48732-mb.phpt17 imagepng($g, "$cwd/bug48732私はガラスを食べられます.png");
H A Dbug53156.phpt50 //imagepng($img, __DIR__ . '/bug53156.png'); // debug
H A Dbug43073.phpt55 imagepng($g, "$cwd/bug43073.png");
H A Dimagepolygon_basic.phpt41 imagepng($image, $dest);
/PHP-7.2/ext/zip/examples/
H A Dim.php4 imagepng($im, 'a.png');
10 imagepng($im, 'b.png');

Completed in 54 milliseconds

12