Gmagick::setimageformat

(PECL gmagick >= Unknown)

Gmagick::setimageformatSets the format of a particular image

说明

public Gmagick::setimageformat ( string $imageFormat ) : Gmagick

Sets the format of a particular image in a sequence.

参数

imageFormat

The image format.

返回值

The Gmagick object on success.

错误/异常

错误时抛出 GmagickException