Table of Contents

Interface IBitmapSource<TPixel>

Namespace
PaintDotNet.Imaging
Assembly
PaintDotNet.Windows.dll

Exposes methods that refers to a source from which pixels are retrieved, but cannot be written back to.

See IWICBitmapSource for more information.

public interface IBitmapSource<TPixel> : IBitmapSource, IObjectRef, IIsDisposed, IDisposable where TPixel : unmanaged, INaturalPixelInfo

Type Parameters

TPixel
Inherited Members
Extension Methods

Remarks

This interface provides a common way of accessing and linking together bitmaps, decoders, format converters, and scalers. Components that implement this interface can be connected together in a graph to pull imaging data through.

This interface defines only the notion of readability or being able to produce pixels. Modifying or writing to a bitmap is considered to be a specialization specific to bitmaps which have storage and is defined in the descendant interface IBitmap.