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

    (PECL imagick 2.0.0)

    Sets the format of the Imagick object

    说明

    Imagick::setFormat(string $format): bool

    Sets the format of the Imagick object.

    参数

    $format

    返回值

    成功时返回TRUE

    For format see:
    http://www.imagemagick.org/script/formats.php
    You can only set format listed in $imgic->queryFormats() . 
    It can be different from http://www.imagemagick.org/script/formats.php .
    don't confuse this function with setImageFormat()