Gmagick::setimagetype

(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.

doc_php
2016-02-24 16:00:23
Comments
Leave a Comment

Please login to continue.