Table of Contents

Method CreateBitmapFromChannels

Namespace
PaintDotNet.Imaging
Assembly
PaintDotNet.Windows.Core.dll

CreateBitmapFromChannels(IImagingFactory, in PixelFormat, params ReadOnlySpan<IBitmapSource>)

public static IBitmapSource CreateBitmapFromChannels(this IImagingFactory factory, in PixelFormat pixelFormat, params ReadOnlySpan<IBitmapSource> channelSources)

Parameters

factory IImagingFactory
pixelFormat PixelFormat
channelSources ReadOnlySpan<IBitmapSource>

Returns

IBitmapSource

CreateBitmapFromChannels<TPixel>(IImagingFactory, params ReadOnlySpan<IBitmapSource>)

public static IBitmapSource<TPixel> CreateBitmapFromChannels<TPixel>(this IImagingFactory factory, params ReadOnlySpan<IBitmapSource> channelSources) where TPixel : unmanaged, INaturalPixelInfo

Parameters

factory IImagingFactory
channelSources ReadOnlySpan<IBitmapSource>

Returns

IBitmapSource<TPixel>

Type Parameters

TPixel