编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « Gmagick::setimagedelay
  • Gmagick::setimagedispose »
  • PHP Manual
  • Gmagick
  • Sets the image depth

Gmagick::setimagedepth

(PECL gmagick >= Unknown)

Gmagick::setimagedepth — Sets the image depth

说明

public Gmagick::setimagedepth ( int $depth ) : Gmagick

Sets the image depth

参数

depth

The image depth in bits: 8, 16, or 32.

返回值

The Gmagick object on success.

错误/异常

错误时抛出 GmagickException。

相关文章
php gmagick gets the depth for a particular image channelphp gmagick sets the filename before you read or write the imagephp gmagick sets the image background colorphp gmagick sets the image chromaticity blue primary pointphp gmagick sets the image border colorphp gmagick sets the depth of a particular image channelphp gmagick sets the image colorspacephp gmagick sets the image composite operatorphp gmagick sets the image delayphp gmagick sets the image depthphp gmagick sets the image chromaticity green primary pointphp gmagick sets the interlace scheme of the imagephp gmagick sets the image iterationsphp gmagick sets the image chromaticity red primary pointphp gmagick sets the image rendering intentphp gmagick sets the image resolutionphp gmagick sets the image scenephp gmagick sets the image typephp gmagick sets the image units of resolutionphp imagick sets the depth of a particular image channel
关注编程学问公众号
编程学问网 湘ICP备20001732号