Click or drag to resize

WdfFileReaderImages Property

Contains the images as bitstreams. See the remarks for an example how to use the bytes.

Namespace: Altaxo.Serialization.Renishaw
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3261.0 (4.8.3261.0)
Syntax
C#
public List<byte[]> Images { get; }

Property Value

ListByte
Remarks
The following code will convert the Image #0 into an System.Drawing.Bitmap:
C#
using var ms = new MemoryStream(Images[0]);
var img = new System.Drawing.Bitmap(ms);
var dict = new Dictionary<int, System.Drawing.Imaging.PropertyItem>();
  foreach (var item in img.PropertyItems)
    dict[item.Id] = item;
See Also