Table of Contents

Interface IBitmapSource

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 : IObjectRef, IIsDisposed, IDisposable
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.

Properties

PixelFormat
Resolution

Gets the resolution of the image, in dots per inch.

Size

Methods

CopyPixels(void*, int, uint, in RectInt32?)
GetPalette()