IMAGECROPAUTO(3) 1 IMAGECROPAUTO(3)
imagecropauto - Crop an image automatically using one of the available modes
SYNOPSIS
resource imagecropauto (resource $image, [int $mode = -1], [float $threshold = .5], [int $color = -1])
DESCRIPTION
Warning
This function is currently not documented; only its argument list is available.
PARAMETERS
o $
image -An image resource, returned by one of the image creation functions, such as imagecreatetruecolor(3).
o $mode
- One of IMG_CROP_* constants.
o $threshold
- Used in IMG_CROP_THRESHOLD mode.
o $color
- Used in IMG_CROP_THRESHOLD mode.
RETURN VALUES
Return cropped image resource on success or FALSE on failure.
PHP Documentation Group IMAGECROPAUTO(3)