在线文档教程
PHP
Image/ImageMagick

Imagick::mapImage

Imagick::mapImage

(PECL imagick 2.0.0)

Imagick::mapImage — Replaces the colors of an image with the closest color from a reference image.

Description

bool Imagick::mapImage ( Imagick $map , bool $dither )

Parameters

map dither

Return Values

Returns TRUE on success.

Errors/Exceptions

Throws ImagickException on error.

← Imagick::magnifyImage

Imagick::matteFloodfillImage →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/imagick.mapimage.php