Gmagick Gmagick::chopimage

(PECL gmagick >= Unknown)

Gmagick::chopimage — 이미지의 영역을 제거하고 다듬습니다.


설명

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

이미지의 영역을 제거하고 제거된 부분을 차지하도록 이미지를 축소합니다.


매개변수

width
잘린 영역의 너비입니다.
height
잘린 영역의 높이입니다.
x
X origo of the chopped area.
y
Y origo of the chopped area.

반환 값

The chopped Gmagick object.


오류/예외

오류가 발생하면 GmagickException을 던집니다.