编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « Imagick::setBackgroundColor
  • Imagick::setCompression »
  • PHP Manual
  • Imagick
  • Set colorspace

Imagick::setColorspace

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

Imagick::setColorspace — Set colorspace

说明

Imagick::setColorspace ( int $COLORSPACE ) : bool

Sets the global colorspace value for the object. 此方法在Imagick基于ImageMagick 6.5.7以上版本编译时可用。

参数

COLORSPACE

One of the COLORSPACE constants

返回值

成功时返回 TRUE。

错误/异常

错误时抛出 ImagickException。

相关文章
php frontbase 函数 change input/output character setphp gmagick set the iterator to the position in the image list specified with the index parameterphp harudoc set the numbering style for the specified range of pagesphp harudoc set the number of pages per set of pagesphp haruoutline set the initial state of the outlinephp harupage set width of the pagephp imagick append a set of imagesphp imagick average a set of imagesphp imagick composites a set of imagesphp imagick set image sizephp imagick gets the colorspacephp imagick gets the image colorspacephp imagick method morphs a set of imagesphp imagick set colorspacephp imagick set image artifactphp imagick sets the image colorspacephp imagick set the iterator positionphp imagick set the iterator positionphp imagick set an optionphp imagick transforms an image to a new colorspace
关注编程学问公众号
编程学问网 湘ICP备20001732号