Gmagick::setimagetype

(PECL gmagick >= Unknown)

Gmagick::setimagetypeSets the image type

Description

public Gmagick::setimagetype(int $imgType): Gmagick

Sets the image type.

Parameters

imgType

One of the Image type constant (Gmagick::IMGTYPE_*).

Return Values

The Gmagick object.

Errors/Exceptions

Throws an GmagickException on error.