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

    (PECL gmagick >= Unknown)

    Resample image to desired resolution

    说明

    publicGmagick::resampleimage(float $xResolution,float $yResolution,int $filter,float $blur): Gmagick

    Resample image to desired resolution.

    参数

    $xResolution

    The new image x resolution.

    $yResolution

    The new image y resolution.

    $filter

    Image filter to use.

    $blur

    The blur factor where larger than 1 is blurry, smaller than 1 is sharp.

    返回值

    The Gmagick object on success

    错误/异常

    错误时抛出GmagickException