GetScalarsFromFormat Data Member Function

Returns the Image_Scalars_Per_Format enumeration that defines the number of scalar primitives per pixel ( ex: 1, 2, 3, 4 ) for a particular image format. This refers to the Image_Scalars_Per_Format enumeration. Please see TYPE_SERVICE_ENUMERATION_UTIL.SSL in the application scripts folder for more information. ISPF_None is the first constant in the enumeration.

Prototype

int32 GetScalarsFromFormat( 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.