Searched refs:imagecrop (Results 1 – 6 of 6) sorted by relevance
/PHP-8.2/ext/gd/tests/ |
H A D | bug66356.phpt | 2 Bug #66356 (Heap Overflow Vulnerability in imagecrop()) 10 var_dump(imagecrop($img, array("x" => "a", "y" => 0, "width" => 10, "height" => 10))); 13 var_dump(imagecrop($img, $arr)); 17 var_dump(imagecrop($img, array("x" => 0, "y" => 0, "width" => -1, "height" => 10))); 20 var_dump(imagecrop($img, array("x" => -20, "y" => -20, "width" => 10, "height" => 10))); 23 var_dump(imagecrop($img, array("x" => 0x7fffff00, "y" => 0, "width" => 10, "height" => 10))); 26 var_dump(imagecrop($img, array("x" => 0, "y" => 0, "width" => 65535, "height" => 65535))); 41 Warning: imagecrop(): %cne parameter to a memory allocation multiplication is negative or zero, fai… 49 Warning: imagecrop(): %croduct of memory allocation multiplication would exceed INT_MAX, failing op…
|
H A D | bug67447.phpt | 2 Bug #67447 (imagecrop() adds a black line when cropping) 11 $cropped = imagecrop($image, ['x' => 0, 'y' => 0, 'width' => 250, 'height' => 250]); 21 $cropped = imagecrop($image, ['x' => 0, 'y' => 0, 'width' => 250, 'height' => 250]);
|
H A D | imagecrop_auto.phpt | 7 if (!function_exists('imagecrop')) die( 'skip GD imagecropauto not present; skipping test' );
|
/PHP-8.2/ext/gd/ |
H A D | gd_arginfo.h | 709 ZEND_FUNCTION(imagecrop); 856 ZEND_FE(imagecrop, arginfo_imagecrop)
|
H A D | gd.stub.php | 765 function imagecrop(GdImage $image, array $rectangle): GdImage|false {} function
|
H A D | gd.c | 3507 PHP_FUNCTION(imagecrop) in PHP_FUNCTION() argument
|
Completed in 45 milliseconds