Class UnknownImageFormatException
The exception that is thrown when the library tries to load an image which has an unknown format.
Implements
Inherited Members
Namespace: SixLabors.ImageSharp
Assembly: SixLabors.ImageSharp.dll
Syntax
public sealed class UnknownImageFormatException : ImageFormatException, ISerializable
Constructors
| Improve this Doc View SourceUnknownImageFormatException(String)
Initializes a new instance of the UnknownImageFormatException class with the name of the parameter that causes this exception.
Declaration
public UnknownImageFormatException(string errorMessage)
Parameters
Type | Name | Description |
---|---|---|
String | errorMessage | The error message that explains the reason for this exception. |