Home
last modified time | relevance | path

Searched refs:imagecropauto (Results 1 – 9 of 9) sorted by relevance

/PHP-8.1/ext/gd/tests/
H A Dimagecrop_auto.phpt2 Testing imagecropauto()
7 if (!function_exists('imagecrop')) die( 'skip GD imagecropauto not present; skipping test' );
15 $im_crop = imagecropauto($im, IMG_CROP_DEFAULT);
22 $im_crop = imagecropauto($im, IMG_CROP_DEFAULT);
29 $im_crop = imagecropauto($im, IMG_CROP_SIDES);
36 $im_crop = imagecropauto($im, IMG_CROP_SIDES);
43 $im_crop = imagecropauto($im, IMG_CROP_BLACK);
52 $im_crop = imagecropauto($im, IMG_CROP_BLACK);
58 $im_crop = imagecropauto($im, IMG_CROP_THRESHOLD, 0.1, 0x0);
H A Dbug72494.phpt2 Bug #72494 (imagecropauto out-of-bounds access)
12 fn() => imagecropauto($im, IMG_CROP_THRESHOLD, 0, 1337)
17 !! [ValueError] imagecropauto(): Argument #4 ($color) must be greater than or equal to 0 when using…
H A Dbug77200.phpt2 Bug #77200 (imagecropauto(…, GD_CROP_SIDES) crops left but not right)
22 $cropped = imagecropauto($orig, IMG_CROP_SIDES);
30 $cropped = imagecropauto($orig, IMG_CROP_SIDES);
H A Dbug73291.phpt2 Bug #73291 (imagecropauto() $threshold differs from external libgd)
18 $dst = imagecropauto($src, IMG_CROP_THRESHOLD, $threshold, $white);
H A Dbug77198_threshold.phpt23 $cropped = imagecropauto($orig, IMG_CROP_THRESHOLD, 1, 0xffffff);
H A Dbug77198_auto.phpt26 $cropped = imagecropauto($orig, IMG_CROP_SIDES);
/PHP-8.1/ext/gd/
H A Dgd_arginfo.h710 ZEND_FUNCTION(imagecropauto);
857 ZEND_FE(imagecropauto, arginfo_imagecropauto)
H A Dgd.stub.php305 function imagecropauto(GdImage $image, int $mode = IMG_CROP_DEFAULT, float $threshold = 0.5, int $c… function
H A Dgd.c3705 PHP_FUNCTION(imagecropauto) in PHP_FUNCTION() argument

Completed in 22 milliseconds