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

    (PECL gmagick >= Unknown)

    Sets the image sampling factors

    说明

    publicGmagick::setsamplingfactors(array $factors): Gmagick

    Sets the image sampling factors.

    参数

    $factors

    An array of doubles representing the sampling factor for each color component(in RGB order).

    返回值

    The Gmagick object on success.

    错误/异常

    错误时抛出GmagickException