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