Home
last modified time | relevance | path

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

12

/PHP-5.6/ext/gd/tests/
H A Dbug45799.phpt2 Bug #45799 (imagepng() crashes on empty image).
10 imagepng($img);
15 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);
35 imagepng TEST
37 Warning: imagepng(): Invalid 2nd parameter, filename must not contain null bytes in %s on line %d
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 Dgif2png.phpt9 if (!function_exists("imagepng")) {
21 …echo imagepng(imagecreatefromgif($cwd . "/conv_test.gif"), $cwd . "/test_gif.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 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 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.phpt35 imagepng($image_lge, $dest_lge);
49 imagepng($image_sml, $dest_sml);
H A Dtypes.phpt19 if ($flags&0x4 && !function_exists("imagepng")) {
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 Dbug53156.phpt50 //imagepng($img, __DIR__ . '/bug53156.png'); // debug
H A Dpng2wbmp_error1.phpt26 imagepng($im, $file);
H A Dbug43073.phpt55 imagepng($g, "$cwd/bug43073.png");
H A Dpng2wbmp_error3.phpt25 imagepng($im, $file);
H A Dimagepolygon_basic.phpt41 imagepng($image, $dest);
H A Dimagedashedline_basic.phpt37 imagepng($image, $dest);
H A Dimagecrop_auto-ext.phpt58 imagepng($im_crop, __DIR__ . "/crop_threshold.png");
/PHP-5.6/ext/zip/examples/
H A Dim.php4 imagepng($im, 'a.png');
10 imagepng($im, 'b.png');

Completed in 19 milliseconds

12