PeachImage

PeachImage.Formats.Avif

AvifEncodingException Class

Thrown when an Image cannot be encoded as AVIF, either because its pixel format is unsupported by this encoder or its dimensions exceed what it can represent. Alpha-bearing source images are rejected via AvifUnsupportedFeatureException instead -- see its own remarks.

public sealed class AvifEncodingException : PeachImage.Formats.Avif.AvifFormatException

Inheritance System.Object → System.Exception → ImageFormatException → AvifFormatException → AvifEncodingException

Constructors  
AvifEncodingException(string) Initializes a new instance of AvifEncodingException.
AvifEncodingException(string, Exception) Initializes a new instance of AvifEncodingException with an inner exception.