img2ansi

package module
v0.0.0-...-1b5600c Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2017 License: MIT Imports: 4 Imported by: 0

README

img2ansi

Converts an image to ANSI (using SGR escape sequences)

Usage

img2ansi --help
# Usage of img2ansi: [options] <image>
#   -o string
#         Output file
#   -w int
#         Width of ANSI image (default 100)

Demo

img2ansi examples/gopher.png

Demo

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ImageToAnsi

func ImageToAnsi(img image.Image, w io.Writer) (err error)

ImageToAnsi writes the converted ANSI image to the writer

Types

This section is empty.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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