SystemDrawingImageProxyExtensionsGetImageProxyFromImage(Image, String) Method |
Gets an image proxy from a Gdi image.
Namespace: Altaxo.Graph.GdiAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static MemoryStreamImageProxy GetImageProxyFromImage(
Image image,
string? name
)
Parameters
- image Image
- The Gdi image to convert.
- name String
- A descriptive name of the image (is stored as name in the image proxy).
Return Value
MemoryStreamImageProxyThe 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