ImageError
Error enum · namespace System.Image · Since 0.28
error ImageErrorThe errors of loading, decoding and saving images (Image.Load, Image.Decode, Image.Save).
Values
Section titled “Values”| Value | Number | Description |
|---|---|---|
CannotOpen |
1 |
The file does not exist or cannot be read. |
CannotWrite |
2 |
The file cannot be created or written. |
InvalidData |
3 |
The data is not a valid image (a damaged or truncated file). |
Unsupported |
4 |
The format, or a variant of it, is not supported (an unknown file type or extension, a JPEG inside a BMP, …). |