Table of Contents

Method GetBitmap

Namespace
PaintDotNet.Direct2D1.Effects
Assembly
PaintDotNet.Windows.Framework.dll

GetBitmap(in PixelFormat)

Gets the input image's output as a bitmap in the specified pixel format. The pixel format must be either Prgba128Float or Rgba128Float. The origin (x=0, y=0) of this bitmap corresponds to the top-left of the output region as defined by Location.

IBitmap GetBitmap(in PixelFormat format)

Parameters

format PixelFormat

Returns

IBitmap

Remarks

You can use one of the extension methods, GetBitmap<TPixel>(IPassthroughAnalysisData), GetBitmapPrgba128Float(IPassthroughAnalysisData), or GetBitmapRgba128Float(IPassthroughAnalysisData), to retrieve the bitmap with the appropriate generic interface already included.