imageprint

package
Version: v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2020 License: GPL-2.0 Imports: 7 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.

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL