Skip to content

SixelParseOutcome ​

Namespace: Hex1b.Sixel

Assembly: Hex1b.dll

The authoritative outcome of parsing a Sixel DCS sequence.

csharp
public enum SixelParseOutcome

Fields ​

Cancelled ​

The upstream stream cancelled the sequence before it terminated.

Returns: SixelParseOutcome

csharp
Cancelled = 1

Complete ​

The sequence parsed to completion with no downgrades.

Returns: SixelParseOutcome

csharp
Complete = 0

LimitDowngraded ​

The sequence parsed, but bounded retention limits downgraded it.

Returns: SixelParseOutcome

csharp
LimitDowngraded = 3

Malformed ​

The sequence was structurally invalid.

Returns: SixelParseOutcome

csharp
Malformed = 2

Rejected ​

The DCS introducer was not an accepted Sixel form.

Returns: SixelParseOutcome

csharp
Rejected = 4

Remarks ​

Automation code can use this to assert whether a graphic parsed cleanly or degraded, without inspecting raw diagnostics. See and for the explanatory detail behind a non- outcome.

Released under the MIT License.