Gmagick::setimagetype
(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.
エラー / 例外
エラー時に GmagickException をスローします。