Click or drag to resize

SystemDrawingImageProxyExtensionsGetImageProxyFromImage(Image) Method

Gets an image proxy from a Gdi image.

Namespace: Altaxo.Graph.Gdi
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static MemoryStreamImageProxy GetImageProxyFromImage(
	Image image
)

Parameters

image  Image
The Gdi image to convert.

Return Value

MemoryStreamImageProxy
The image proxy.
Remarks
Since metafile images can not be converted to a independent image stream, those images are converted to bitmap images and then converted to an independent image proxy, using the resolution of the metafile image.
See Also