Visible to Intel only — GUID: GUID-12ED42C7-68ED-4761-9D6B-A5FD029A98B1
Visible to Intel only — GUID: GUID-12ED42C7-68ED-4761-9D6B-A5FD029A98B1
<span class='option'>iwiColorToChannels</span>
IW_DECL(int) iwiColorToChannels(
IwiColorFmt color,
int planeNum
);
color |
Color format. |
planeNum |
Plane number for the planar format. Must be equal to or greater than 0. Ignored for interleaved formats. |
This function converts IwColorFmt to the number of channels.
If the color format is of the interleaved type, returns the number of channels.
If the color format is of the planar type, returns the number of channels for the specified plane.
If the color format is undefined or the number of planes is incorrect, returns 0.
Did you find the information on this page useful?
Feedback Message
Characters remaining: