sefenbu

Crates.iosefenbu
lib.rssefenbu
version0.1.2
created_at2025-04-18 13:17:38.680378+00
updated_at2025-04-24 10:33:00.109523+00
descriptionVisualizes OKHSV color distribution for an image.
homepagehttps://github.com/xiaoshihou514/sefenbu
repositoryhttps://github.com/xiaoshihou514/sefenbu
max_upload_size
id1639444
size242,526
xiaoshihou (xiaoshihou514)

documentation

README

Crates.io Version

中文文档

sefenbu(色分布,sè fēn bù,color distribution)visualizes color distribution for an image. The main use for this is to make colorschemes. Supports OKHSV, OKHSL, HSV, HSL.

sefenbu -u okhsv test.jpg sefenbu -u okhsl test.jpg
okhsv okhsl
sefenbu -u hsv test.jpg sefenbu -u hsl test.jpg
hsv hsl

Usage

Usage: sefenbu [OPTIONS] <FILE>

Arguments:
  <FILE>  Input image

Options:
  -u, --using <USING>  Color space
  -h, --help           Print help
  -V, --version        Print version

You need to place the executable with the shaders/ directory.

Installation

Install dependencies for bevy first.

cargo install sefenbu

For those on X11, remove the wayland flag from Cargo.toml and build from source.

Credits

  • TD-Sky for all my rust refactoring questions
  • char-BS for bearing with my enthusiasm
Commit count: 62

cargo fmt