项目作者: wwalexander

项目描述 :
Generates terminal color schemes from images
高级语言: Go
项目地址: git://github.com/wwalexander/imgscheme.git
创建时间: 2015-11-19T08:36:48Z
项目社区:https://github.com/wwalexander/imgscheme

开源协议:GNU General Public License v3.0

下载


imgscheme

Building

  1. go build

Usage

  1. 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