• 首页
  • vue
  • TypeScript
  • JavaScript
  • scss
  • css3
  • html5
  • php
  • MySQL
  • redis
  • jQuery
  • Imagick::remapImage()

    (No version information available, might only be in Git)

    Remaps image colors

    说明

    publicImagick::remapImage(Imagick$replacement,int $DITHER): bool

    Replaces colors an image with those defined by$replacement. The colors are replaced with the closest possible color.此方法在Imagick基于ImageMagick 6.4.5以上版本编译时可用。

    参数

    $replacement

    An Imagick object containing the replacement colors

    $DITHER

    Refer to this list of dither method constants

    返回值

    成功时返回TRUE

    错误/异常

    错误时抛出 ImagickException。