编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « 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 函数 get or set the database name used with a connectionphp fdf 函数 set target frame for form displayphp harudestination set the appearance of the page to fit the window widthphp harudoc set the info attribute of the documentphp harupage set stroking color for the pagephp harupage set transition style for 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号