update : 2015.11.03
php.shukuma.com

검색:
 
 
Sets the image type

Gmagick::setimagetype

(PECL gmagick >= Unknown)

Gmagick::setimagetypeSets the image type

설명

public Gmagick Gmagick::setimagetype ( int $imgType )

Sets the image type.

인수

imgType

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

반환값

The Gmagick object on success.

오류/예외

Throws an GmagickException on error.