InvalidImageFormatException

InvalidImageFormatException class

The exception that is thrown when trying to open, load, save or process somehow else some content, that presumably is an image (raster or vector), but actually is an image of unexpected and/or unsupported format or not an image at all.

public class InvalidImageFormatException : Exception

Constructors

Name Description
InvalidImageFormatException(string) Creates new instance of InvalidImageFormatException with specified error message
InvalidImageFormatException(string, Exception) Creates new instance of InvalidImageFormatException with specified error message and a reference to the inner exception that is the cause of this exception

See Also