https://github.com/wwalexander/imgscheme
Generates terminal color schemes from images
https://github.com/wwalexander/imgscheme
color-scheme image-processing
Last synced: 5 months ago
JSON representation
Generates terminal color schemes from images
- Host: GitHub
- URL: https://github.com/wwalexander/imgscheme
- Owner: wwalexander
- License: gpl-3.0
- Created: 2015-11-19T08:36:48.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2018-04-21T04:18:53.000Z (about 8 years ago)
- Last Synced: 2024-06-20T06:38:41.871Z (about 2 years ago)
- Topics: color-scheme, image-processing
- Language: Go
- Homepage:
- Size: 1010 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
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