Gmagick
PHP Manual

Gmagick::cropimage

(PECL gmagick >= Unknown)

Gmagick::cropimageExtracts a region of the image

Description

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

Extracts a region of the image.

Liste de paramètres

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

Valeurs de retour

The cropped Gmagick object

Erreurs / Exceptions

Émet une exception GmagickException en cas d'erreur.


Gmagick
PHP Manual