Table of Contents

Class BitmapSourceExtensions

Namespace
PaintDotNet.Imaging
Assembly
PaintDotNet.Framework.dll
public static class BitmapSourceExtensions
Inheritance
BitmapSourceExtensions
Inherited Members

Methods

Bounds(IBitmapSource)

Returns a rectangle who's value is (x=0, y=0, width=source.Width, height=source.Height)

CopyPixels(IBitmapSource, IBitmapLock)
CopyPixels(IBitmapSource, IBitmapLock, Point2Int32)
CopyPixels<TPixel>(IBitmapSource<TPixel>, IBitmapLock)
CopyPixels<TPixel>(IBitmapSource<TPixel>, IBitmapLock, Point2Int32)
CopyPixels<TPixel>(IBitmapSource<TPixel>, RegionPtr<TPixel>)
CopyPixels<TPixel>(IBitmapSource<TPixel>, RegionPtr<TPixel>, Point2Int32)
CreateClipper(IBitmapSource, RectInt32)
CreateClipper<TPixel>(IBitmapSource<TPixel>, RectInt32)
CreateClipper<TPixel>(IBitmapSource<TPixel>, RectInt32, BitmapExtendMode)

Creates a clipped bitmap with a given extend mode. The clipping rect may extend outside of the source bounds.

CreateFlipRotator(IBitmapSource, BitmapTransformOptions)
CreateFlipRotator<TPixel>(IBitmapSource<TPixel>, BitmapTransformOptions)
CreateFormatConverter(IBitmapSource, in PixelFormat)
CreateFormatConverter(IBitmapSource, in PixelFormat, BitmapDitherType, IPalette, double, BitmapPaletteType)
CreateFormatConverter<TPixelDst>(IBitmapSource)
CreateFormatConverter<TPixelDst>(IBitmapSource, BitmapDitherType, IPalette, double, BitmapPaletteType)
CreateScaler(IBitmapSource, SizeInt32, BitmapInterpolationMode)
CreateScaler(IBitmapSource, int, int, BitmapInterpolationMode)
CreateScaler<TPixel>(IBitmapSource<TPixel>, SizeInt32, BitmapInterpolationMode)
CreateScaler<TPixel>(IBitmapSource<TPixel>, int, int, BitmapInterpolationMode)
ToBitmap(IBitmapSource)
ToBitmap<TPixel>(IBitmapSource<TPixel>)
ToBitmap<TPixel>(IBitmapSource<TPixel>, RectInt32)