Class PngDecoderOptions
Configuration options for decoding png images.
Implements
Inherited Members
Namespace: SixLabors.ImageSharp.Formats.Png
Assembly: SixLabors.ImageSharp.dll
Syntax
public sealed class PngDecoderOptions : ISpecializedDecoderOptions
Properties
| Edit this page View SourceGeneralOptions
Gets the general decoder options.
Declaration
public DecoderOptions GeneralOptions { get; init; }
Property Value
Type | Description |
---|---|
DecoderOptions |
MaxUncompressedAncillaryChunkSizeBytes
Gets the maximum memory in bytes that a zTXt, sPLT, iTXt, iCCP, or unknown chunk can occupy when decompressed. Defaults to 8MB
Declaration
public int MaxUncompressedAncillaryChunkSizeBytes { get; init; }
Property Value
Type | Description |
---|---|
int |
PngCrcChunkHandling
Gets a value indicating how to handle validation of any CRC (Cyclic Redundancy Check) data within the encoded PNG.
Declaration
public PngCrcChunkHandling PngCrcChunkHandling { get; init; }
Property Value
Type | Description |
---|---|
PngCrcChunkHandling |