WdfFileReaderImages Property |
Contains the images as bitstreams. See the remarks for an example how to use the bytes.
Namespace: Altaxo.Serialization.RenishawAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3261.0 (4.8.3261.0)
Syntaxpublic List<byte[]> Images { get; }
Property Value
ListByte
Remarks
The following code will convert the Image #0 into an System.Drawing.Bitmap:
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