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

    (PECL imagick 2.0.0)

    Returns the format of a particular image in a sequence

    说明

    Imagick::getImageFormat(void): string

    Returns the format of a particular image in a sequence.

    返回值

    Returns a string containing the image format on success.

    错误/异常

    错误时抛出 ImagickException。

    Use Imagick::queryFormats() to get a list of possible format names that might be returned by this function.