imgrender

package
v1.1.8 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RenderedImage

type RenderedImage struct {
	EscapeSequence string
	WidthPx        int
	HeightPx       int
}

type Renderer

type Renderer interface {
	Render(imgData []byte) (RenderedImage, error)
}

func New

func New() Renderer

type TerminalSize

type TerminalSize struct {
	Cols int
	Rows int
	PxW  int
	PxH  int
}

func GetTerminalSize

func GetTerminalSize() (TerminalSize, error)

Jump to

Keyboard shortcuts

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