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
Properties
GeneralOptions
Gets the general decoder options.
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; }