Class BitPixUtils
- Namespace
- FitsModel
- Assembly
- FitsModel.dll
Utility class for working with BitPix values.
public static class BitPixUtils
- Inheritance
-
BitPixUtils
- Inherited Members
Methods
BitsPerPixel(BitPix)
Returns the number of bits per pixel for the given BitPix value.
public static int BitsPerPixel(BitPix bitPix)
Parameters
bitPix
BitPix
Returns
- int
The number of bits used for a single pixel.
Exceptions
BytesPerPixel(BitPix)
Returns the number of bytes per pixel for the given BitPix value.
public static int BytesPerPixel(BitPix bitPix)
Parameters
bitPix
BitPix
Returns
- int
The number of bytes used for a single pixel.
Exceptions
GetEnumerator()
Returns a list of all valid BitPix values.
public static IEnumerable<BitPix> GetEnumerator()