PeachImage
PeachImage.Formats.Avif
AvifUnsupportedFeatureException Class
Thrown when an AVIF file uses a feature that is deliberately out of scope for this decoder (animated AVIF, film grain synthesis, 12-bit depth, gain maps, palette/IntraBC mode, super-resolution) rather than one that is malformed. Kept as a sibling of AvifDecodingException (not a subclass) so corpus/differential tests can distinguish “this file deliberately isn’t supported, skip it” from “this is a real decoding bug” by catching this narrower type first.
Also used on the encode side for source images whose content is deliberately out of scope for this encoder rather than malformed – specifically, an Image with a non-opaque alpha channel, since this encoder only produces opaque AVIF still images in this version.
public sealed class AvifUnsupportedFeatureException : PeachImage.Formats.Avif.AvifFormatException
Inheritance System.Object → System.Exception → ImageFormatException → AvifFormatException → AvifUnsupportedFeatureException
| Constructors | |
|---|---|
| AvifUnsupportedFeatureException(string) | Initializes a new instance of AvifUnsupportedFeatureException. |
| AvifUnsupportedFeatureException(string, Exception) | Initializes a new instance of AvifUnsupportedFeatureException with an inner exception. |