Minor changes
- Better error handling
- Fix duplicate color extraction
Major changes
-
The major change of v0.2.0 is the folder browsing feature I built thanks to the ratatui crate.
This need comes from the frustration some of the CLI users can have by extracting colors from multiple image files, one by one. So now, you can provide a repertory path as a file one.Who says folder browsing, generally says recursive (
--recursive) option to browser inside folders.
For the moment, I restrict the number of files you can browse to 65535. But if you have a use case needing more, please feel free to open an issue. I will set that.
By browsing the folder, the color canvas display option is disabled. -
As even for a small repertory with few images, you can still need more filtering options, I added a regular expression argument, which you can set with
--regexargument to access only files matching a pattern. -
Another interesting feature coming with folder browsing is clipboarding. When moving from one file to another, you can clipboard the colors extracted by using
Ctrl + cshortcut, or extract more (up to 10) or less (down to 2) with respectivelymandlshortcuts.