- Dependencies Required:
- nim
- nimble
nimble install dye@"#head"
There are many binaries for different operating systems and architectures on the github releases page
- Currently dye can be installed from
- AUR
- Nimble
- Jitter
You can install from jitter with the command: jitter install gh:Infinitybeond1/dye
# Get command info
dye --help
# Convert 'test.jpg' using the dark-decay color palette (available color palettes: decay, darkdecay, decayce, articblush, catppuccin, ok, nord, everforest, iceberg)
dye -b -p dark-decay test.jpg
# Convert the image to black and white
dye -b -p "#000000,#FFFFFF" test.jpg
# List color palettes
dye list
Feel free to open a pull request if you wish to make any changes, here are a few of the ways you can help
- Create some color palettes (lib/palettes.nim) they are just exported sequences of quoted hex codes
- Help me improve the docs
- Package it for platforms