Method CreateChannelReplacedBitmap
- Namespace
- PaintDotNet.Imaging
- Assembly
- PaintDotNet.Windows.Core.dll
CreateChannelReplacedBitmap(IImagingFactory, IBitmapSource, int, IBitmapSource)
public static IBitmapSource CreateChannelReplacedBitmap(this IImagingFactory factory, IBitmapSource source, int channelIndex, IBitmapSource channelSource)
Parameters
factoryIImagingFactorysourceIBitmapSourcechannelIndexintchannelSourceIBitmapSource
Returns
CreateChannelReplacedBitmap<TPixel>(IImagingFactory, IBitmapSource<TPixel>, int, IBitmapSource)
public static IBitmapSource<TPixel> CreateChannelReplacedBitmap<TPixel>(this IImagingFactory factory, IBitmapSource<TPixel> source, int channelIndex, IBitmapSource channelSource) where TPixel : unmanaged, INaturalPixelInfo
Parameters
factoryIImagingFactorysourceIBitmapSource<TPixel>channelIndexintchannelSourceIBitmapSource
Returns
- IBitmapSource<TPixel>
Type Parameters
TPixel