Interface IPngFileTypeSaveToken
- Namespace
- PaintDotNet
- Assembly
- PaintDotNet.Data.dll
public interface IPngFileTypeSaveToken : IFileTypeSaveToken, IInternalImpl
Properties
- AlphaThreshold
When BitDepth is set to Bpp8, pixels with an alpha value below this value will be considered transparent.
The default value is 128.
- BitDepth
Gets or sets the bit-depth to save the PNG at. The default value is AutoDetect, which picks the bit-depth that produces the smallest file size without losing any information.
- DitherLevel
When BitDepth is set to an indexed bit-depth (Bpp8 or lower), this configures the amount of dithering.
The range of this property is [0, 8]. The default value is 7.
- Interlaced
Gets or sets whether the PNG should be saved with interlacing. This does not affect how the image appears once it has been loaded, but it may improve how it looks while it is loading on a slow network or Internet connection.
The default value isfalse
.
- QuantizationAlgorithm
When BitDepth is set to an indexed bit-depth (Bpp8 or lower), this configures which quantization algorithm is used.
The default value is Octree.