#image #file #中文文档 #sefenbu

app sefenbu

Visualizes OKHSV color distribution for an image

3 releases

Uses new Rust 2024

new 0.1.2 Apr 24, 2025
0.1.1 Apr 20, 2025
0.1.0 Apr 18, 2025

#64 in Game dev

Download history 293/week @ 2025-04-16

293 downloads per month

GPL-3.0 license

73KB
2K SLoC

Rust 1.5K SLoC // 0.1% comments WebGPU Shader Language 723 SLoC // 0.0% comments

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

Dependencies

~37–75MB
~1.5M SLoC