编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « 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 多字节字符串 函数 set/get character encoding for multibyte regexphp 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 colorspacephp intlbreakiterator set the text being scannedphp sphinxclient set grouping attributephp sqlite3result closes the result setphp swoole atomic set a new value to the atomic object.php swoole client set the swoole client parameters before the connection is established.
关注编程学问公众号
编程学问网 湘ICP备20001732号