Table of Contents

Class UnknownImageFormatException

Namespace
SixLabors.ImageSharp
Assembly
SixLabors.ImageSharp.dll

The exception that is thrown when the library tries to load an image which has an unknown format.

public sealed class UnknownImageFormatException : ImageFormatException, ISerializable
Inheritance
UnknownImageFormatException
Implements
Inherited Members

Constructors

UnknownImageFormatException(string)

Initializes a new instance of the UnknownImageFormatException class with the name of the parameter that causes this exception.

public UnknownImageFormatException(string errorMessage)

Parameters

errorMessage string

The error message that explains the reason for this exception.