terminalimage

package
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 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 Data

type Data struct {
	Bytes []byte
}

type Model

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

func NewModel

func NewModel(aspect float64, fallback string) Model

func (*Model) Aspect

func (m *Model) Aspect() float64

func (*Model) SetImage

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

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