Prev
MagickWand For PHP
Manual


Next

MagickGetImageDepth

MagickGetImageDepth -- returns the depth of a particular image or image channel

Description

float MagickGetImageDepth( MagickWand mgck_wnd [, int channel_type] )

Returns the depth of a particular image or image channel. Returns the depth if successful, FALSE if an error occurred. If the optional channel_depth parameter is specified, MagickGetImageChannelDepth() is called on the particular image channel. channel_type must be a ChannelType constant, one of the following: MW_RedChannel MW_CyanChannel MW_GreenChannel MW_MagentaChannel MW_BlueChannel MW_YellowChannel MW_AlphaChannel MW_OpacityChannel MW_BlackChannel MW_IndexChannel MW_AllChannels


A description of each parameter follows:

mgck_wnd A MagickWand resource
channel_type (OPTIONAL) ChannelType constant


Prev
MagickGetImageDelay
Up Next
MagickGetImageDispose