GetBitsFromFormat Data Member Function

Returns the Image_Bits_Per_Format enumeration that defines the number of bits per pixel ( ex: 8, 16, 32, 64 ) for a particular image format. This refers to the Image_Bits_Per_Format enumeration. Please see TYPE_SERVICE_ENUMERATION_UTIL.SSL in the application scripts folder for more information. IBPF_None is the first constant in the enumeration.

Prototype

int32 GetBitsFromFormat( int32 p_eFormat )

Parameters

Parameter Type Parameter Name Documentation
int32p_eFormatThe Image_Pixel_Format enumeration value of the format to query. Refers to the Image_Pixel_Format enumeration. Please see TYPE_SERVICE_ENUMERATION_UTIL.SSL in the application scripts folder for more information. IPF_None is the first constant in the enumeration.

Examples

Copy Text To Clipboard

None published. Please look for an example in the Scenome Scripting Language code base.