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
↳ CcittFaxFormatException
↳ GifFormatException
↳ Jbig2FormatException
↳ JpegFormatException
↳ Jpeg2000FormatException
↳ JxlFormatException
↳ PngFormatException
↳ TiffFormatException
↳ WebpFormatException
↳ ImageTooLargeException
↳ UnknownImageFormatException
↳ UnsupportedFormatException

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.