(PECL gmagick >= Unknown)
Gmagick::setimagetype — Sets the image type
imgType
The image type: UndefinedType, BilevelType, GrayscaleType, GrayscaleMatteType, PaletteType, PaletteMatteType, TrueColorType, TrueColorMatteType, ColorSeparationType, ColorSeparationMatteType, or OptimizeType.
The Gmagick object on success.
Wywołuje wyjątek GmagickException w przypadku błędu.