(PHP 5 >= 5.5.0, PHP 7)
imagecropauto — Crop an image automatically using one of the available modes
$image
[, int $mode = -1
[, float $threshold = .5
[, int $color = -1
]]] )
本函数还未编写文档,仅有参数列表。
image由图象创建函数(例如imagecreatetruecolor())返回的图象资源。
mode
One of IMG_CROP_* constants.
threshold
Used in IMG_CROP_THRESHOLD mode.
color
Used in IMG_CROP_THRESHOLD mode.
Return cropped image resource on success 或者在失败时返回 FALSE.