ufoPixelTypeGetPixelSize

int ufoPixelTypeGetPixelSize(
   ufoPixelType pixel_type);

Returns the size of one pixel for the given pixel type. RGB8 and RGBA8 are both 4 bytes. For other types, it is the component size multipled by the number of channels.



Autodesk Softimage v7.5