Enum MetadataCreationOptions
- Namespace
- PaintDotNet.Imaging
- Assembly
- PaintDotNet.Windows.dll
Specifies metadata creation options.
WICMetadataCreationOptions
[Flags]
public enum MetadataCreationOptions
Fields
Default = 0
The default metadata creation options. This equals AllowUnknown and PersistLittleEndian.
AllowUnknown = 0
Allow unknown metadata creation.
PersistLittleEndian = 0
The data byte order is little endian.
PersistBigEndian = 1
The data byte order is big endian.
PersistStrictFormat = 2
The data format must strictly conform to the specification.
Warning: This option is inconsistently implement and should not be relied on.
PersistNoCacheStream = 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.
PersistPreferUtf8 = 8
Use UTF8 instead of the default UTF16.
Note: This option is currently unused.
FailUnknown = 65536
Fail on unknown metadata creation.