Returns the Image_Bytes_Per_Channel enumeration that defines the number of bytes per channel ( ex: 1, 2, 4 ) for a particular image format. This refers to the Image_Bytes_Per_Channel enumeration. Please see TYPE_SERVICE_ENUMERATION_UTIL.SSL in the application scripts folder for more information. IBPC_None is the first constant in the enumeration.
int32 GetBytesPerChannel( Image p_eFormat )
Parameter Type | Parameter Name | Documentation |
---|---|---|
<Image> | p_eFormat | The 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. |
None published. Please look for an example in the Scenome Scripting Language code base.