Enum SegmentIntegrityHandling
- Namespace
- SixLabors.ImageSharp.Formats
- Assembly
- SixLabors.ImageSharp.dll
Specifies how to handle validation of recoverable errors in ancillary and image data segments. Structural errors that prevent safe decoding remain fatal regardless of the selected mode.
public enum SegmentIntegrityHandling
Fields
IgnoreAncillary = 1Ignore recoverable errors in ancillary segments, such as optional metadata.
IgnoreImageData = 2Ignore recoverable errors in image data segments in addition to ancillary segments.
Strict = 0Do not ignore any recoverable ancillary or image data segment errors.