Skip to content

sixels/opal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Opal

Opal is a tool to change images color palette.

It supports png, jpeg, jpg, bmp, ico and gif (with no animations yet).

Installing

Clone the repository:

git clone https://github.com/sixels/opal.git && cd opal

Setup a rust environment then run:

cargo install --path .

Usage

For now, Opal has only two positional arguments, the filename and the color scheme (it doesn't support multiple images at the same time). You can run it as follow:

opal path/to/image (nord|gruvbox|oceanic|dracula)

Preview

Original Image Dracula Gruvbox Nord
Colors
Gradient
Landscape
Forest

All images were compressed after being generated.

TODO

  • Refactoring
  • Better CLI interface
  • Add more color schemes
  • Support custom color schemes
  • Progress bar

Images Attributions

All featured images were taken from Unsplash

About

A tool to change images color palette

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages