PixelFormatUtilitiesIsMultiByte Method |
Indicates whether or not any channel in this image requires multiple bytes.
Namespace:
Atalasoft.Imaging
Assembly:
Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public static bool IsMultiByte(
PixelFormat pf
)
Public Shared Function IsMultiByte (
pf As PixelFormat
) As Boolean
Parameters
- pf
- Type: Atalasoft.ImagingPixelFormat
An input PixelFormat
Return Value
Type:
Boolean Returns true if a channels needs multiple bytes, false otherwise.
Remarks To find out how many bytes a channel requires, use BitsPerChannel(pf)/8
See Also