(PECL gmagick >= Unknown)
Sets the image type
public Gmagick Gmagick::setimagetype ( int $imgType )
Sets the image type.
Parameters:
imgType
The image type: UndefinedType, BilevelType, GrayscaleType, GrayscaleMatteType, PaletteType, PaletteMatteType, TrueColorType, TrueColorMatteType, ColorSeparationType, ColorSeparationMatteType, or OptimizeType.
Returns:
The Gmagick object on success.
Exception:
Throws an GmagickException on error.
Please login to continue.