31 return sal_uInt16(ePixelFormat) <= 8;
36 return sal_uInt16(ePixelFormat);
41 return sal_Int64(1) << sal_Int64(ePixelFormat);
50 assert(
false &&
"no longer supported");
constexpr sal_Int64 numberOfColors(PixelFormat ePixelFormat)
constexpr PixelFormat bitDepthToPixelFormat(sal_uInt16 nBitDepth)
constexpr bool isPalettePixelFormat(PixelFormat ePixelFormat)
Is it a pixel format that forces creation of a palette.
PixelFormat
Pixel format of the bitmap in bits per pixel.
constexpr sal_uInt16 pixelFormatBitCount(PixelFormat ePixelFormat)