Show / Hide Table of Contents

Class ImageUtil

Loads WPF and GDI+ images from file, resource or string.

public static class ImageUtil

Namespace: Au.More
Assembly: Au.dll
Inheritance
object
ImageUtil

Methods

Name Description
ConvertWpfImageElementToGdipBitmap(FrameworkElement, int, SIZE?)

Converts WPF image element to GDI+ image.

HasImageOrResourcePrefix(string)

Returns true if string starts with "resource:", "resources/", "image:" (Base64 encoded image), "imagefile:" (file path), "*" (XAML icon name) or "<" (possibly XAML image).

HasImageStringPrefix(string)

Returns true if string starts with "image:".

LoadGdipBitmap(string, (int dpi, SIZE? size)?)

Loads GDI+ image from file, resource or string.

LoadGdipBitmapFromXaml(string, int, SIZE?)

Loads GDI+ image from WPF XAML file or string.

LoadImageStreamFromString(string)

Loads image file data as stream from Base64 string.

LoadWpfImage(string)

Loads WPF image or icon from file, resource or string.

LoadWpfImageElement(string)

Loads WPF image element from file, resource or string. Supports xaml, png and other image formats supported by WPF.

See Also

ResourceUtil