Searched refs:imagescale (Results 1 – 17 of 17) sorted by relevance
/php-src/ext/gd/tests/ |
H A D | bug72337.phpt | 2 #72337 segfault in imagescale with new dimensions being <=0) 9 imagescale($im, 1, 1, -10); 14 imagescale($im, 0, 1, 0); 19 imagescale($im, 1, 0, 0); 23 imagescale($im, 1, 1, IMG_BICUBIC_FIXED); 27 imagescale(): Argument #4 ($mode) must be one of the GD_* constants 28 imagescale(): Argument #2 ($width) must be between 1 and 2147483647 29 imagescale(): Argument #3 ($height) must be between 1 and 2147483647
|
H A D | imagescale_preserve_ratio.phpt | 10 $thumbnail = imagescale($img, 64, -1, IMG_BICUBIC); 14 $thumbnail = imagescale($img, -1, 64, IMG_BICUBIC); 20 $thumbnail = imagescale($img, 64, -1, IMG_BICUBIC); 24 $thumbnail = imagescale($img, -1, 64, IMG_BICUBIC); 30 $thumbnail = imagescale($img, 64, -1, IMG_BICUBIC); 34 $thumbnail = imagescale($img, -1, 64, IMG_BICUBIC);
|
H A D | bug79676.phpt | 2 Bug #79676 (imagescale adds black border with IMG_BICUBIC) 19 test(imagescale($src, $size * 2, $size * 2), 'Scale 200%, default mode'); 20 test(imagescale($src, $size / 2, $size / 2), 'Scale 50%, default mode'); 21 test(imagescale($src, $size * 2, $size * 2, IMG_BICUBIC), 'Scale 200%, IMG_BICUBIC mode'); 22 test(imagescale($src, $size / 2, $size / 2, IMG_BICUBIC), 'Scale 50%, IMG_BICUBIC mode');
|
H A D | bug73957.phpt | 2 Bug #73957 (signed integer conversion in imagescale()) 14 $im = imagescale($im, 0x100000001, 1); 22 imagescale(): Argument #2 ($width) must be between 1 and %d
|
H A D | bug77272.phpt | 2 Bug #77272 (imagescale() may return image resource on failure) 16 var_dump(imagescale($img, 1, 1, IMG_TRIANGLE)); 19 Warning: imagescale():%S %croduct of memory allocation multiplication would exceed INT_MAX, failing…
|
H A D | bug72227.phpt | 2 Bug #72227: imagescale out-of-bounds read 9 imagescale($img, 13, 1, IMG_BICUBIC);
|
H A D | bug69024.phpt | 2 Bug #69024 (imagescale segfault with palette based image) 8 imagescale($im, 32, 32, IMG_BICUBIC);
|
H A D | gh16257.phpt | 2 GH-16257 (underflow on RBG channels handling with imagescale) 8 imagescale($im, 32, 32, IMG_BICUBIC);
|
H A D | bug73281.phpt | 2 Bug #73281 (imagescale(…, IMG_BILINEAR_FIXED) can cause black border) 16 $dst = imagescale($src, 200, 200, IMG_BILINEAR_FIXED); 26 $dst = imagescale($src, 200, 200, IMG_BILINEAR_FIXED);
|
H A D | bug73272.phpt | 2 Bug #73272 (imagescale() is not affected by, but affects imagesetinterpolation()) 20 imagescale($src, 200, 200, IMG_BILINEAR_FIXED);
|
H A D | gh16559.phpt | 11 var_dump(imagescale($output, -1, 64, IMG_BICUBIC));
|
H A D | bug72512_0.phpt | 18 imagescale($img, 1, 65535);
|
H A D | bug73279.phpt | 15 $dst = imagescale($src, 200, 200, IMG_BILINEAR_FIXED);
|
H A D | bug73279_old.phpt | 15 $dst = imagescale($src, 200, 200, IMG_BILINEAR_FIXED);
|
/php-src/ext/gd/ |
H A D | gd_arginfo.h | 697 ZEND_FUNCTION(imagescale); 835 ZEND_FE(imagescale, arginfo_imagescale)
|
H A D | gd.stub.php | 770 function imagescale(GdImage $image, int $width, int $height = -1, int $mode = IMG_BILINEAR_FIXED): … function
|
H A D | gd.c | 3916 PHP_FUNCTION(imagescale) in PHP_FUNCTION() argument
|
Completed in 28 milliseconds