Interface IImagingFactory
- Namespace
- PaintDotNet.Imaging
- Assembly
- PaintDotNet.Windows.dll
Exposes methods used to create components for the Windows Imaging Component (WIC) such as decoders, encoders and pixel format converters.
See also:
IWICImagingFactory
IWICImagingFactory2
public interface IImagingFactory : IObjectRef, IIsDisposed, IDisposable, IInternalImpl
- Inherited Members
- Extension Methods
Methods
- CreateBitmapFromHBitmap(nint, nint, BitmapAlphaChannelOption)
Creates an IBitmap from a GDI bitmap handle.
- CreateBitmapFromHIcon(nint)
Creates an IBitmap from a GDI icon handle.
- CreateFormatConvertedBitmap(IBitmapSource, in PixelFormat, BitmapDitherType, IPalette?, double, BitmapPaletteType)
Converts a bitmap from one pixel format to another, handling dithering and halftoning to indexed formats, palette translation, and alpha thresholding.
For more information, see
IWICFormatConverter::Initialize.
- CreatePaletteFromBitmap(IBitmapSource, int, bool)
Initializes a palette using a computed optimized values based on the reference bitmap.