Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
L

lutgen-rs

> 开发工具
Open source

Blazingly fast interpolated LUT generator and applicator for arbitrary and popular color palettes.

580 stars0 likes0 views
WebsiteGitHub

About

Blazingly fast interpolated LUT generator and applicator for arbitrary and popular color palettes.

lutgen-rs

    A blazingly fast interpolated LUT utility for arbitrary and popular color palettes. Theme any image to your desktop colorscheme!

Example Output

Hald Cluts

Catppuccin Mocha


Gruvbox Dark


Nord

Color Corrections

Original Image


Catppuccin Mocha


Gruvbox Dark


Nord

Lutgen CLI

Package Repositories

Install from source

bash
git clone https://github.com/ozwaldorf/lutgen-rs
cd lutgen-rs
cargo install --path crates/cli

Crates.io

bash
cargo install lutgen-cli

Documentation

Detailed documentation, examples, and more are available on The Lutgen Wiki

Lutgen Web

An interactive WebGL app is available at lut.sh/app, supporting every built-in palette with live previews.

Built from web/:

bash
cd web
npm install
npm run dev

[!NOTE] Lutgen Web replaces lutgen-studio, the previous desktop GUI, which is no longer built or maintained. Existing studio releases remain published on crates.io and in distro repositories.

Rust Library

See the latest rust documentation on docs.rs/lutgen

Nix flake

A nix flake is available providing the lutgen package. The flake can be easily run via:

bash
nix run github:ozwaldorf/lutgen-rs

Cache is provided via https://garnix.io

Development Shell

A development environment is also provided in the flake:

bash
git clone https://github.com/ozwaldorf/lutgen-rs
cd lutgen-rs
nix develop

# inside dev shell
cargo run -r --bin lutgen

Planned features

  • Interpolation for more accuracy when correcting with low level luts (<16)
  • Hardware acceleration for applying luts to images

Sources

  • Hald Cluts: https://www.quelsolaar.com/technology/clut.html
  • Editing with Hald Cluts: https://im.snibgo.com/edithald.htm
  • Sparse Hald Cluts: https://im.snibgo.com/sphaldcl.htm
  • RBF Interpolation: https://en.wikipedia.org/wiki/Radial_basis_function_interpolation
  • Shepard's method: https://en.wikipedia.org/wiki/Inverse_distance_weighting
  • Oklab Colorspace: https://bottosson.github.io/posts/oklab/

Special Thanks

  • Gingeh for the initial inspiration and imagemagick approach
  • The Catppuccin Org for continual feedback and support along the way
  • Stonks3141 for maintaining the Alpine Linux package
  • All the nixpkgs maintainers

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Rustclicolor-gradingcolorschemegui

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category开发工具
PricingOpen source

> Related tools

V
VS Code
流行的开源代码编辑器
G
Git
分布式版本控制系统
V
Vite
下一代前端构建工具