Imagick::profileImage
Imagick::quantizeImages
Imagick
PHP Manual

# Imagick::quantizeImage

(PECL imagick 2.0.0)

Imagick::quantizeImage — Analyzes the colors within a reference image

### Descrição

bool Imagick::quantizeImage ( int `$numberColors` , int `$colorspace` , int `$treedepth` , bool `$dither` , bool `$measureError` )

### Parâmetros

`numberColors`

`colorspace`

`treedepth`

`dither`

`measureError`

### Valor Retornado

Returns `TRUE` on success.

### Erros

Throws ImagickException on error.

Imagick::profileImage
Imagick::quantizeImages
Imagick
PHP Manual