Imagick::chopImage

Imagick::chopImage

(PECL imagick 2.0.0)

Imagick::chopImageRemoves a region of an image and trims

Description

bool Imagick::chopImage ( int $width , int $height , int $x , int $y )

Removes a region of an image and collapses the image to occupy the removed portion.

Parameters

width

Width of the chopped area

height

Height of the chopped area

登录查看完整内容