Click or drag to resize

SystemDrawingImageProxyExtensionsGetStreamFromImage Method

Gets a stream from a Gdi image.

Namespace: Altaxo.Graph.Gdi
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public static MemoryStream GetStreamFromImage(
	Image image,
	ImageFormat format
)

Parameters

image  Image
The image to convert to a stream.
format  ImageFormat
The format to save the image to the stream.

Return Value

MemoryStream
The created memory stream.
See Also