Gmagick::setimageformat()
(PECL gmagick >= Unknown)
Sets 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。