编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « 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 cubrid 函数 set a read lock on the given oidphp ibm db2 函数 returns an array indexed by column name representing a row in a result setphp 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 mysqlnduhconnection read a result set headerphp ziparchive set the encryption method of an entry defined by its namephp zmqdevice set the timer timeoutphp zookeeper set a watcher function
关注编程学问公众号
编程学问网 湘ICP备20001732号