PeachImage

PeachImage

ImageFormatException Class

Base type for all exceptions PeachImage throws while identifying, decoding, or encoding images.

public class ImageFormatException : System.Exception

Inheritance System.Object → System.Exception → ImageFormatException

Derived
↳ AvifFormatException
↳ BmpFormatException
↳ GifFormatException
↳ JpegFormatException
↳ PngFormatException
↳ TiffFormatException
↳ WebpFormatException
↳ UnknownImageFormatException

Constructors  
ImageFormatException() Initializes a new instance of ImageFormatException.
ImageFormatException(string) Initializes a new instance of ImageFormatException with the given message.
ImageFormatException(string, string) Initializes a new instance of ImageFormatException with the given message and format name.
ImageFormatException(string, string, Exception) Initializes a new instance of ImageFormatException with the given message, format name, and inner exception.
ImageFormatException(string, Exception) Initializes a new instance of ImageFormatException with the given message and inner exception.
Properties  
FormatName The name of the format involved, if known.