GD- und Image-Funktionen
PHP Manual

imagecropauto

(PHP 5 >= 5.5.0, PHP 7)

imagecropautoCrop an image automatically using one of the available modes

Beschreibung

resource imagecropauto ( resource $image [, int $mode = -1 [, float $threshold = .5 [, int $color = -1 ]]] )

Warnung

Diese Funktion ist bis jetzt nicht dokumentiert. Es steht nur die Liste der Argumente zur Verfügung.

Parameter-Liste

image

Eine von den verschiedenen Erzeugungsfunktionen wie imagecreatetruecolor() gelieferte Grafikressource.

mode

One of IMG_CROP_* constants.

threshold

Used in IMG_CROP_THRESHOLD mode.

color

Used in IMG_CROP_THRESHOLD mode.

Rückgabewerte

Return cropped image resource on successIm Fehlerfall wird FALSE zurückgegeben..


GD- und Image-Funktionen
PHP Manual