GetScalarsPerFormat 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 GetScalarsPerFormat( Image p_oSource )

Parameters

Parameter Type Parameter Name Documentation
<Image>p_oSourceA pointer to the <Image> object to query.

Examples

Copy Text To Clipboard

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