Imagick::quantizeImages

(PECL imagick 2, PECL imagick 3)

Imagick::quantizeImagesAnalyzes the colors within a sequence of images

说明

publicImagick::quantizeImages(
    int$numberColors,
    int$colorspace,
    int$treedepth,
    bool$dither,
    bool$measureError
): bool

参数

numberColors

colorspace

treedepth

dither

measureError

返回值

成功时返回 true

错误/异常

错误时抛出 ImagickException。

To Top