Home > PHP > Function > > Imagick::quantizeImage()

Imagick::quantizeImage()

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

Syntax

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

Arguments

  • numberColors
  • colorspace
  • treedepth
  • dither
  • measureError

Description

Version

PHP PECL imagick 2.0.0

Return value

Returns TRUE on success.