imageprint

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2024 License: GPL-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package imageprint prints images on terminal. UNSUPPORTED debug package.

This package has an API with no stability guarantees.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Print24bit

func Print24bit(i image.Image, blanks bool)

Print24bit draws an image using 24bit color escape sequences by changing background.

func Print256Color

func Print256Color(i image.Image, blanks bool)

Print256Color draws an image using 256color'd ascii art.

func PrintITerm

func PrintITerm(i image.Image, fn string)

PrintITerm draws an image using iTerm2's escape sequences.

https://www.iterm2.com/documentation-images.html

func PrintNoColor

func PrintNoColor(i image.Image, blanks bool)

PrintNoColor draws an image without using color escape sequences. Only makes sense with blanks=true.

func PrintRasTerm added in v0.0.3

func PrintRasTerm(i image.Image)

PrintRasTerm draws an image using the RasTerm library.

This should enable drawing in Kitty terminal.

Types

This section is empty.

Jump to

Keyboard shortcuts

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