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
| Edit this page 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. |