Gmagick
PHP Manual

Gmagick::setimageformat

(PECL gmagick >= Unknown)

Gmagick::setimageformatSets the format of a particular image

说明

public Gmagick Gmagick::setimageformat ( string $imageFormat )

Sets the format of a particular image in a sequence.

参数

imageFormat

The image format.

返回值

The Gmagick object on success.

错误/异常

错误时抛出 GmagickException


Gmagick
PHP Manual