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
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.