Gmagick
PHP Manual

Gmagick::setimagetype

(PECL gmagick >= Unknown)

Gmagick::setimagetypeSets the image type

Descrierea

public Gmagick Gmagick::setimagetype ( int $imgType )

Sets the image type.

Parametri

imgType

The image type: UndefinedType, BilevelType, GrayscaleType, GrayscaleMatteType, PaletteType, PaletteMatteType, TrueColorType, TrueColorMatteType, ColorSeparationType, ColorSeparationMatteType, or OptimizeType.

Valorile întoarse

The Gmagick object on success.

Erori/Excepții

Emite o GmagickException în caz de eroare.


Gmagick
PHP Manual