Returns the size of one line of the data buffer.
This depends if the components are packed. If packed includes all components, if not includes only one.
int imImageLineCount
(
int
width,
int
color_mode
)
Returns the number of elements of one line of the data buffer.
This depends if the components are packed. If packed includes all components, if not includes only one.
int imImageCheckFormat
(
int
color_mode,
int
data_type
)
Check if the combination color_mode+data_type is valid.