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

    (PECL gmagick >= Unknown)

    Sets the image units of resolution

    说明

    publicGmagick::setimageunits(int $resolution): Gmagick

    Sets the image units of resolution.

    参数

    $resolution

    The image units of resolution : Undefinedresolution, PixelsPerInchResolution, or PixelsPerCentimeterResolution.

    返回值

    The Gmagick object on success.

    错误/异常

    错误时抛出GmagickException