Searched refs:imagescale (Results 1 – 17 of 17) sorted by relevance
/PHP-7.4/ext/gd/tests/ |
H A D | imagescale_preserve_ratio.phpt | 12 $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 D | bug72337.phpt | 2 #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 D | bug79676.phpt | 2 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 D | bug77272.phpt | 2 Bug #77272 (imagescale() may return image resource on failure) 14 var_dump(imagescale($img, 1, 1, IMG_TRIANGLE)); 18 Warning: imagescale():%S product of memory allocation multiplication would exceed INT_MAX, failing …
|
H A D | bug72227.phpt | 2 Bug #72227: imagescale out-of-bounds read 11 imagescale($img, 13, 1, IMG_BICUBIC);
|
H A D | bug69024.phpt | 2 Bug #69024 (imagescale segfault with palette based image) 10 imagescale($im, 32, 32, IMG_BICUBIC);
|
H A D | bug73281.phpt | 2 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 D | bug73957.phpt | 2 Bug #73957 (signed integer conversion in imagescale()) 11 $im = imagescale($im, 0x100000001, 1);
|
H A D | bug73272.phpt | 2 Bug #73272 (imagescale() is not affected by, but affects imagesetinterpolation()) 16 imagescale($src, 200, 200, IMG_BILINEAR_FIXED);
|
H A D | bug77269.phpt | 14 imagescale($im, 1, 1, IMG_TRIANGLE); 19 Warning: imagescale():%S product of memory allocation multiplication would exceed INT_MAX, failing …
|
H A D | bug72512_0.phpt | 17 imagescale($img, 1, 65535);
|
H A D | bug73279.phpt | 14 $dst = imagescale($src, 200, 200, IMG_BILINEAR_FIXED);
|
H A D | bug73279_old.phpt | 14 $dst = imagescale($src, 200, 200, IMG_BILINEAR_FIXED);
|
/PHP-7.4/ext/gd/ |
H A D | php_gd.h | 136 PHP_FUNCTION(imagescale);
|
H A D | gd.c | 927 PHP_FE(imagescale, arginfo_imagescale) 4862 PHP_FUNCTION(imagescale) in PHP_FUNCTION() argument
|
/PHP-7.4/ |
H A D | NEWS | 841 . Fixed bug #79676 (imagescale adds black border with IMG_BICUBIC). (cmb) 1469 imagescale(). (Andreas Treichel) 2306 . Fixed bug #73281 (imagescale(…, IMG_BILINEAR_FIXED) can cause black border). 2309 . Fixed bug #77272 (imagescale() may return image resource on failure). (cmb) 2394 . Fixed bug #77269 (efree() on uninitialized Heap data in imagescale leads to
|
H A D | UPGRADING | 590 . imagescale() now supports aspect ratio preserving scaling to a fixed height
|
Completed in 39 milliseconds