MagickGetImageType
MagickGetImageType -- returns the potential image type of the current active image
Description
int MagickGetImageType( MagickWand mgck_wnd )
Returns the potential image type of the current active image. To ensure the image type matches its potential, use MagickSetImageType(): MagickSetImageType( mgck_wnd, MagickGetImageType( mgck_wnd ) ); The returned value will be an ImageType constant, one of the following: MW_UndefinedType MW_BilevelType MW_GrayscaleType MW_GrayscaleMatteType MW_PaletteType MW_PaletteMatteType MW_TrueColorType MW_TrueColorMatteType MW_ColorSeparationType MW_ColorSeparationMatteType MW_OptimizeType
A description of each parameter follows:
| mgck_wnd | A MagickWand resource |