Enum MetadataPersistOptions
- Namespace
- PaintDotNet.Imaging
- Assembly
- PaintDotNet.Windows.dll
Specifies options that are used when initializing a component with a stream.
WICPersistOptions
[Flags]
public enum MetadataPersistOptions
Fields
Default = 0
The default persist options. The default is LittleEndian.
LittleEndian = 0
The data byte order is little endian.
BigEndian = 1
The data byte order is big endian.
StrictFormat = 2
The data format must strictly conform to the specification.
Warning: This option is inconsistently implement and should not be relied on.
NoCacheStream = 4
No cache for the metadata stream.
Certain operations, such as CreateMetadataWriterFromReader(IMetadataReader, in VendorID?) require that the reader have a stream. Therefore, these operations will be unavailable if the reader is initialized with NoCacheStream.
PreferUtf8 = 8
Use UTF8 instead of the default UTF16.
Note: This option is currently unused.