Home
last modified time | relevance | path

Searched refs:imagewebp (Results 1 – 10 of 10) sorted by relevance

/php-src/ext/gd/tests/
H A Dwebp_basic.phpt2 imagewebp() and imagecreatefromwebp() - basic test
10 if (!function_exists('imagewebp') || !function_exists('imagecreatefromwebp'))
28 imagewebp($im1, $filename);
31 imagewebp($im2, $filename);
35 imagewebp($im1, $filename, IMG_WEBP_LOSSLESS);
41 imagewebp($im1, $filename, -10);
54 imagewebp(): Argument #3 ($quality) must be greater than or equal to -1
H A Dbug66590_1.phpt2 Bug #66590 (imagewebp() doesn't pad to even length) - segfault
7 if (!function_exists('imagewebp')) die('skip WebP support not available');
13 imagewebp($im);
H A Dimagewebp_nullbyte_injection.phpt2 Testing null byte injection in imagewebp
16 imagewebp($image, "./foo\0bar");
22 imagewebp(): Argument #2 ($file) must not contain null bytes
H A Dbug66590.phpt2 Bug #66590 (imagewebp() doesn't pad to even length)
10 if (!function_exists('imagewebp')) die('skip WebP support not available');
18 imagewebp($im, $filename);
H A Dbug70102.phpt10 if (!function_exists('imagewebp') || !function_exists('imagecreatefromwebp'))
21 imagewebp($im, $filename);
H A Dbug72596.phpt7 var_dump(function_exists('imagewebp') === (bool) (imagetypes() & IMG_WEBP));
H A Dbug70047.phpt9 var_dump($info['WebP Support'] === function_exists('imagewebp'));
/php-src/ext/gd/
H A Dgd_arginfo.h635 ZEND_FUNCTION(imagewebp);
771 ZEND_FE(imagewebp, arginfo_imagewebp)
H A Dgd.stub.php618 function imagewebp(GdImage $image, $file = null, int $quality = -1): bool {} function
H A Dgd.c1957 PHP_FUNCTION(imagewebp) in PHP_FUNCTION() argument

Completed in 24 milliseconds