Gmagick
PHP Manual

Gmagick::cropimage

(PECL gmagick >= Unknown)

Gmagick::cropimageExtracts a region of the image

Descrição

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

Extracts a region of the image.

Parâmetros

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

Valor Retornado

The cropped Gmagick object

Erros

Throws an GmagickException on error.


Gmagick
PHP Manual