IImageFactory Interface

Definition

Factory interface for creating bitmaps. An instance of this interface shall be provided by library-specific adapter classes. The class BitmapImage requires an instance of this interface to work properly.

public interface IImageFactory
type IImageFactory = interface
Public Interface IImageFactory

Methods

CreateBitmap(Int32, Int32, PixelFormat)

Creates a bitmap with the given size and format

CreateFromStream(Stream)

Creates a bitmap from a stream (e.g. an image file)

Applies to