Click or drag to resize

IClipboardGetDataObjectGetBitmapImageAsOptimizedMemoryStream Method

Gets the bitmap image on the clipboard as optimized memory stream. Optimized means that it will be tested whether compression with jpeg or with png is more efficient, and the stream that is smaller in size will be returned.

Namespace: Altaxo.Gui
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
(Stream Stream, string? FileExtension) GetBitmapImageAsOptimizedMemoryStream()

Return Value

ValueTupleStream, String
If successfull, the stream and the file extension that describes the kind of stream. If unsuccessfull, the tuple (null, null) is returned.
See Also