Home
last modified time | relevance | path

Searched refs:imagescale (Results 1 – 16 of 16) sorted by relevance

/PHP-8.0/ext/gd/tests/
H A Dimagescale_preserve_ratio.phpt12 $thumbnail = imagescale($img, 64, -1, IMG_BICUBIC);
16 $thumbnail = imagescale($img, -1, 64, IMG_BICUBIC);
22 $thumbnail = imagescale($img, 64, -1, IMG_BICUBIC);
26 $thumbnail = imagescale($img, -1, 64, IMG_BICUBIC);
32 $thumbnail = imagescale($img, 64, -1, IMG_BICUBIC);
36 $thumbnail = imagescale($img, -1, 64, IMG_BICUBIC);
H A Dbug72337.phpt2 #72337 segfault in imagescale with new dimensions being <=0)
5 if (!function_exists('imagescale')) die("skip gd extension not available\n");
10 imagescale($im, 0, 0, IMG_BICUBIC_FIXED);
H A Dbug79676.phpt2 Bug #79676 (imagescale adds black border with IMG_BICUBIC)
21 test(imagescale($src, $size * 2, $size * 2), 'Scale 200%, default mode');
22 test(imagescale($src, $size / 2, $size / 2), 'Scale 50%, default mode');
23 test(imagescale($src, $size * 2, $size * 2, IMG_BICUBIC), 'Scale 200%, IMG_BICUBIC mode');
24 test(imagescale($src, $size / 2, $size / 2, IMG_BICUBIC), 'Scale 50%, IMG_BICUBIC mode');
H A Dbug77272.phpt2 Bug #77272 (imagescale() may return image resource on failure)
14 var_dump(imagescale($img, 1, 1, IMG_TRIANGLE));
17 Warning: imagescale():%S Product of memory allocation multiplication would exceed INT_MAX, failing …
H A Dbug72227.phpt2 Bug #72227: imagescale out-of-bounds read
11 imagescale($img, 13, 1, IMG_BICUBIC);
H A Dbug69024.phpt2 Bug #69024 (imagescale segfault with palette based image)
10 imagescale($im, 32, 32, IMG_BICUBIC);
H A Dbug73281.phpt2 Bug #73281 (imagescale(…, IMG_BILINEAR_FIXED) can cause black border)
15 $dst = imagescale($src, 200, 200, IMG_BILINEAR_FIXED);
25 $dst = imagescale($src, 200, 200, IMG_BILINEAR_FIXED);
H A Dbug73957.phpt2 Bug #73957 (signed integer conversion in imagescale())
11 $im = imagescale($im, 0x100000001, 1);
H A Dbug77269.phpt13 imagescale($im, 1, 1, IMG_TRIANGLE);
17 Warning: imagescale():%S Product of memory allocation multiplication would exceed INT_MAX, failing …
H A Dbug73272.phpt2 Bug #73272 (imagescale() is not affected by, but affects imagesetinterpolation())
16 imagescale($src, 200, 200, IMG_BILINEAR_FIXED);
H A Dbug72512_0.phpt17 imagescale($img, 1, 65535);
H A Dbug73279.phpt14 $dst = imagescale($src, 200, 200, IMG_BILINEAR_FIXED);
H A Dbug73279_old.phpt14 $dst = imagescale($src, 200, 200, IMG_BILINEAR_FIXED);
/PHP-8.0/ext/gd/
H A Dgd_arginfo.h690 ZEND_FUNCTION(imagescale);
831 ZEND_FE(imagescale, arginfo_imagescale)
H A Dgd.stub.php243 function imagescale(GdImage $image, int $width, int $height = -1, int $mode = IMG_BILINEAR_FIXED): … function
H A Dgd.c3678 PHP_FUNCTION(imagescale) in PHP_FUNCTION() argument

Completed in 120 milliseconds