在线文档教程
PHP
Image/GraphicsMagick

Gmagick::setimageformat

Gmagick::setimageformat

(PECL gmagick >= Unknown)

Gmagick::setimageformat — Sets the format of a particular image

Description

public Gmagick Gmagick::setimageformat ( string $imageFormat )

Sets the format of a particular image in a sequence.

Parameters

imageFormat

The image format.

Return Values

The Gmagick object on success.

Errors/Exceptions

Throws an GmagickException on error.

← Gmagick::setimagefilename

Gmagick::setimagegamma →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/gmagick.setimageformat.php