• 首页
  • vue
  • TypeScript
  • JavaScript
  • scss
  • css3
  • html5
  • php
  • MySQL
  • redis
  • jQuery
  • Gmagick::setimagedepth()

    (PECL gmagick >= Unknown)

    Sets the image depth

    说明

    publicGmagick::setimagedepth(int $depth): Gmagick

    Sets the image depth

    参数

    $depth

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

    返回值

    The Gmagick object on success.

    错误/异常

    错误时抛出GmagickException