= Unknown)Gmagick::mapimage — Replaces the colors of an image with the closest color from a reference image說明public Gm">

Gmagick::mapimage

(PECL gmagick >= Unknown)

Gmagick::mapimageReplaces the colors of an image with the closest color from a reference image

說明

public Gmagick::mapimage(gmagick $gmagick, bool $dither): Gmagick

Replaces the colors of an image with the closest color from a reference image.

參數(shù)

gmagick

The reference image.

dither

Set this integer value to something other than zero to dither the mapped image.

返回值

The Gmagick object.

錯(cuò)誤/異常

錯(cuò)誤時(shí)拋出 GmagickException