terminal_image

package
v0.9.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 30, 2026 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ImageData

type ImageData struct {
	Data []byte
}

type Model

type Model struct {
	// contains filtered or unexported fields
}

func NewModel

func NewModel(aspect float64, fallbackLabel string) Model

func (*Model) Aspect

func (m *Model) Aspect() float64

func (*Model) SetImage

func (m *Model) SetImage(pic *ImageData)

func (*Model) SetSize

func (m *Model) SetSize(width, height int)

func (*Model) View

func (m *Model) View() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL