Gmagick::setimagetype
(PECL gmagick >= Unknown)
Gmagick::setimagetype — Sets the image type
Parameter-Liste
-
imgType -
The image type: UndefinedType, BilevelType, GrayscaleType, GrayscaleMatteType, PaletteType, PaletteMatteType, TrueColorType, TrueColorMatteType, ColorSeparationType, ColorSeparationMatteType, or OptimizeType.
Rückgabewerte
The Gmagick object on success.
Fehler/Exceptions
Wirft bei einem Fehler eine GmagickException.