Table of Contents

Class ImageUtility

Namespace
Alternet.Common.Wpf
Assembly
Alternet.Common.Wpf.v10.dll

A utiity class to work with bitmap images.

public static class ImageUtility
Inheritance
ImageUtility

Methods

FromSystemDrawingIcon(Icon)

Converts given System.Drawing.Icon to the BitmapImage object.

FromSystemDrawingIcon(Icon, int, int)

Converts given System.Drawing.Icon to the BitmapImage object.

FromSystemDrawingImage(Image)

Converts given System.Drawing.Image to the BitmapImage object.

LoadBitmap(Stream)

Load bitmap image from the specified stream.

SystemDrawingBitmapToWpf(Bitmap)

Converts given System.Drawing.Bitmap to its WPF representation.