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.

C#
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

Product Versions
.NET IoT Libraries 2.2.0