downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

Gmagick::setimageunits> <Gmagick::setimagescene
[edit] Last updated: Fri, 25 May 2012

view this page in

Gmagick::setimagetype

(PECL gmagick >= Unknown)

Gmagick::setimagetypeSets the image type

Description

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.

Return Values

The Gmagick object on success.

Errors/Exceptions

Throws an GmagickException on error.



add a note add a note User Contributed Notes Gmagick::setimagetype
There are no user contributed notes for this page.

 
show source | credits | sitemap | contact | advertising | mirror sites