update : 2015.11.03
php.shukuma.com

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

Gmagick::mapimage

(PECL gmagick >= Unknown)

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

설명

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

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

인수

gmagick

The reference image

dither

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

반환값

Gmagick object

오류/예외

Throws an GmagickException on error.