ImageProtocol enum

Terminal image protocol for rendering images inline.

Inheritance
Available extensions

Values

kitty → const ImageProtocol

Kitty Graphics Protocol — fastest, PNG-compressed native protocol.

iterm2 → const ImageProtocol

iTerm2 Image Protocol — used by iTerm2 on macOS.

sixel → const ImageProtocol

Sixel graphics — used by xterm, mlterm, foot, WezTerm, etc.

halfblock → const ImageProtocol

Half-block characters (▀) with true-color ANSI escapes.

Works in any terminal that supports 24-bit color — no special graphics protocol required. Each cell renders two vertical pixels using foreground (top) and background (bottom) colors.

none → const ImageProtocol

No image protocol — fall back to text placeholder.

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

values → const List<ImageProtocol>
A constant List of the values in this enum, in order of their declaration.