Class DecoderOptions
- Namespace
- SixLabors.ImageSharp.Formats
- Assembly
- SixLabors.ImageSharp.dll
Provides general configuration options for decoding image formats.
public sealed class DecoderOptions
- Inheritance
-
DecoderOptions
- Inherited Members
Constructors
DecoderOptions()
public DecoderOptions()
Properties
Configuration
Gets a custom configuration instance to be used by the image processing pipeline.
public Configuration Configuration { get; init; }
Property Value
MaxFrames
Gets the maximum number of image frames to decode, inclusive.
public uint MaxFrames { get; init; }
Property Value
Sampler
Gets the sampler to use when resizing during decoding.
public IResampler Sampler { get; init; }
Property Value
SkipMetadata
Gets a value indicating whether to ignore encoded metadata when decoding.
public bool SkipMetadata { get; init; }
Property Value
TargetSize
Gets the target size to decode the image into. Scaling should use an operation equivalent to Max.
public Size? TargetSize { get; init; }
Property Value
- Size?