Table of Contents

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

source IBitmapSource
channelIndex int
channelSource IBitmapSource

Returns

IBitmapSource

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

source IBitmapSource<TPixel>
channelIndex int
channelSource IBitmapSource

Returns

IBitmapSource<TPixel>

Type Parameters

TPixel