Gmagick
PHP Manual

Gmagick::cropimage

(PECL gmagick >= Unknown)

Gmagick::cropimageExtracts a region of the image

설명

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

Extracts a region of the image.

인수

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

반환값

The cropped Gmagick object

오류/예외

Throws an GmagickException on error.


Gmagick
PHP Manual