Sets the format of a particular image

Gmagick::setimagefilename
Gmagick::setimagegamma
Gmagick
PHP Manual

# 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
Gmagick
PHP Manual