https://github.com/abzico/gifcolormap
Colormap management for gif image via CLI
https://github.com/abzico/gifcolormap
cli color colormap commandline gif giflib tool utility
Last synced: about 1 year ago
JSON representation
Colormap management for gif image via CLI
- Host: GitHub
- URL: https://github.com/abzico/gifcolormap
- Owner: abzico
- License: mit
- Created: 2019-05-21T01:24:45.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-05-21T05:35:36.000Z (about 7 years ago)
- Last Synced: 2025-03-17T01:44:21.523Z (over 1 year ago)
- Topics: cli, color, colormap, commandline, gif, giflib, tool, utility
- Language: C
- Size: 10.7 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gifcolormap
Colormap management for gif image via CLI
# How to Build
The project is based on autotools. If you're on Windows, try using Cygwin/Mingw-w64 terminal so you
might be able to build this project.
* `./autogen.sh`
* `./configure`
* `make -j4`
* `sudo make install`
# How to Use
`gifcolormap` is designed to have a few more functionality related to color map.
At the moment, it has `-add-color` command to add color into colormap.
* `-add-color r,g,b` - to add a new color into colormap by appending it at the end of color map which
is starting at 256th position, then 255th and so on. You can add this command multiple times. If such
color already existed in the colormap, it will skip, and proceed to the next one. `r,g,b` are values
0-255 for red, green, and blue channel respectively. Ex. `gifcolormap -add-color 123,123,123 -add-color 200,200,200 input.gif output.gif`
# License
[MIT](https://github.com/abzico/gifcolormap/blob/master/LICENSE), [Angry Baozi](https://abzi.co)