PeachImage

PeachImage

UnsupportedFormatException Class

Thrown when an image is in a format PeachImage recognises but the caller’s AllowedFormats does not permit. It is thrown right after the format is recognised from the file’s signature and before any decoder for that format runs.

public sealed class UnsupportedFormatException : PeachImage.ImageFormatException

Inheritance System.Object → System.Exception → ImageFormatException → UnsupportedFormatException

Constructors  
UnsupportedFormatException(string) Initializes a new instance of UnsupportedFormatException for the format named formatName.
UnsupportedFormatException(string, string) Initializes a new instance of UnsupportedFormatException with the given message and format name.