Gmagick::setimagetype

Sets the image type

Beschreibung

public Gmagick Gmagick::setimagetype ( int $imgType )

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.