(PECL gmagick >= Unknown)
Gmagick::setimagetype — Sets the image type
Sets the image type.
The image type: UndefinedType, BilevelType, GrayscaleType, GrayscaleMatteType, PaletteType, PaletteMatteType, TrueColorType, TrueColorMatteType, ColorSeparationType, ColorSeparationMatteType, or OptimizeType.
The Gmagick object on success.
Throws an GmagickException on error.