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