PHPTS:一键免费搭建 Nginx + PHP + MySQL 运行环境

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