Method IsSupported
- Namespace
- PaintDotNet.Imaging
- Assembly
- PaintDotNet.Primitives.dll
IsSupported(in PixelFormat)
Gets a flag indicating whether the PixelFormat has full support in the imaging framework.
Supported pixel formats will have a corresponding color struct, such as ColorBgra32,
as well as support for IBitmapSource
, IBitmap
, and IBitmapLock
, and their
generic counterparts IBitmapSource<TPixel>
, IBitmap<TPixel>
, and
IBitmapLock<TPixel>
.
public static bool IsSupported(in PixelFormat format)
Parameters
format
PixelFormat