TerminalImage.decode constructor

TerminalImage.decode(
  1. Uint8List data
)

Decodes PNG, JPEG, WebP, or the first frame of a GIF synchronously.

Implementation

factory TerminalImage.decode(Uint8List data) =>
    TerminalImage._decodeWith(OpenTuiBindings(), data);