Enum TilePngDecoder.FailReason
Why TryDecode(byte[], int, byte[], out int, out int, out FailReason) returned false, or None on success.
public enum TilePngDecoder.FailReason
Fields
Corrupt = 4Filter byte, chunk length, or palette data out of range.
None = 0Decode succeeded.
NotPng = 1Bytes are not a PNG signature.
Truncated = 2Stream ended before a complete image.
Unsupported = 3A legal PNG this decoder does not handle off-thread.