Gmagick
PHP Manual

Gmagick::cropimage

(PECL gmagick >= Unknown)

Gmagick::cropimageExtracts a region of the image

Beschreibung

public void Gmagick::cropimage ( int $x , int $y , int $width , int $height )

Extracts a region of the image.

Parameter-Liste

x

The X coordinate of the cropped region's top left corner

y

The Y coordinate of the cropped region's top left corner

width

The width of the crop

height

The height of the crop

Rückgabewerte

The cropped Gmagick object

Fehler/Exceptions

Throws an GmagickException on error.


Gmagick
PHP Manual