Home
last modified time | relevance | path

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

12

/php-src/ext/gd/tests/
H A Dpngcomp.phpt7 if (!function_exists("imagecreatefrompng") || !function_exists("imagepng")) {
19 imagepng($im, $cwd . '/test_pngcomp.png', -2);
24 imagepng($im, $cwd . '/test_pngcomp.png', 10);
29 imagepng($im, $cwd . '/test_pngcomp.png', 9);
40 imagepng(): Argument #3 ($quality) must be between -1 and 9
41 imagepng(): Argument #3 ($quality) must be between -1 and 9
H A Dbug45799.phpt2 Bug #45799 (imagepng() crashes on empty image).
14 imagepng($img);
18 Warning: imagepng(): gd-png error: no colors in palette%win %s on line %d
H A Dimagefilter.phpt30 imagepng($im, $SAVE_DIR."/".$filt. ".png");
41 imagepng($im, $SAVE_DIR . "/IMG_FILTER_SMOOTH.png");
51 imagepng($im, $SAVE_DIR . "/IMG_FILTER_COLORIZE.png");
61 imagepng($im, $SAVE_DIR . "/IMG_FILTER_CONTRAST.png");
71 imagepng($im, $SAVE_DIR . "/IMG_FILTER_BRIGHTNESS.png");
81 imagepng($im, $SAVE_DIR . "/IMG_FILTER_PIXELATE.png");
91 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
14 $ref = new ReflectionFunction('imagepng');
H A Dbug73549.phpt2 Bug #73549 (Use after free when stream is passed to imagepng)
15 var_dump(imagepng($im, $stream));
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 Dxpm2png.phpt7 if (!function_exists("imagepng")) {
19 …echo imagepng(imagecreatefromxpm($cwd . "/conv_test.xpm"), $cwd . "/test_xpm.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 Dimageresolution_png.phpt19 imagepng($exp, $filename);
24 imagepng($exp, $filename);
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.phpt32 imagepng($image_lge, $dest_lge);
46 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 Dbug24155.phpt19 imagepng($im, $dest);
H A Dbug27582_1.phpt21 imagepng($im, $dest);
H A Dbug48732.phpt21 imagepng($g, "$cwd/bug48732.png");
H A Dtest_image_equals_file_palette.phpt21 imagepng($im, $filename);
H A Dbug48732-mb.phpt21 imagepng($g, "$cwd/bug48732私はガラスを食べられます.png");
H A Dbug53156.phpt51 //imagepng($img, __DIR__ . '/bug53156.png'); // debug
H A Dimagepolygon_basic.phpt37 imagepng($image, $dest);
H A Dbug43073.phpt59 imagepng($g, "$cwd/bug43073.png");
/php-src/ext/zip/examples/
H A Dim.php4 imagepng($im, 'a.png');
10 imagepng($im, 'b.png');

Completed in 20 milliseconds

12