Gmagick::charcoalimage
Gmagick::clear
Gmagick
PHP Manual

# Gmagick::chopimage

(PECL gmagick >= Unknown)

Gmagick::chopimage — Removes a region of an image and trims

### Opis

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

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

### Parametry

`width`

  Width of the chopped area

`height`

  Height of the chopped area

`x`

  X origo of the chopped area

`y`

  Y origo of the chopped area

### Zwracane wartości

The chopped Gmagick object

### Błędy/Wyjątki

Throws an GmagickException on error.

Gmagick::charcoalimage
Gmagick::clear
Gmagick
PHP Manual