imgscheme

command module
v0.0.0-...-9f23875 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2018 License: GPL-3.0 Imports: 12 Imported by: 0

README

imgscheme

Building

go build

Usage

imgscheme [-N color] file

imgscheme generates a terminal color scheme from an image file. It attempts to make the generated colors correspond to prominent colors in the image, and also close to the corresponding colors in a base color scheme. If file is absent, imgscheme reads from the standard input. The colors in the base scheme can be set using numeric flags corresponding to the 16 ANSI colors (0-15) as hex triplets /[0-9a-f]{6}/ The generated colors will be output in order as hex triplets.

Examples

Lena

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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