Home
last modified time | relevance | path

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

/php-src/ext/gd/tests/
H A Dimagecrop_auto.phpt2 Testing imagecropauto()
7 if (!function_exists('imagecrop')) die( 'skip GD imagecropauto not present; skipping test' );
18 $im_crop = imagecropauto($im, IMG_CROP_DEFAULT);
25 $im_crop = imagecropauto($im, IMG_CROP_DEFAULT);
32 $im_crop = imagecropauto($im, IMG_CROP_SIDES);
39 $im_crop = imagecropauto($im, IMG_CROP_SIDES);
46 $im_crop = imagecropauto($im, IMG_CROP_BLACK);
55 $im_crop = imagecropauto($im, IMG_CROP_BLACK);
61 $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-src/ext/gd/
H A Dgd_arginfo.h696 ZEND_FUNCTION(imagecropauto);
834 ZEND_FE(imagecropauto, arginfo_imagecropauto)
H A Dgd.stub.php767 function imagecropauto(GdImage $image, int $mode = IMG_CROP_DEFAULT, float $threshold = 0.5, int $c… function
H A Dgd.c3866 PHP_FUNCTION(imagecropauto) in PHP_FUNCTION() argument

Completed in 29 milliseconds