Method Cast
- Namespace
- PaintDotNet.Imaging
- Assembly
- PaintDotNet.Windows.Core.dll
Cast(IBitmapSource, in PixelFormat)
public static IBitmapSource Cast(this IBitmapSource source, in PixelFormat format)
Parameters
source
IBitmapSourceformat
PixelFormat
Returns
Cast<TPixel>(IBitmapSource)
public static IBitmapSource<TPixel> Cast<TPixel>(this IBitmapSource source) where TPixel : unmanaged, INaturalPixelInfo
Parameters
source
IBitmapSource
Returns
- IBitmapSource<TPixel>
Type Parameters
TPixel