Blazingly fast interpolated LUT generator and applicator for arbitrary and popular color palettes.
MIT License
Bot releases are hidden (Show)
If possible, please verify any palettes you use!
-base16
-terminal-sexy
and -gogh
suffixes removed.Custom palettes can be added to $LUTGEN_DIR
or <CONFIG DIR>/lutgen
, for example:
/home/alice/.config/lutgen
/Users/Alice/Library/Application Support/lutgen
C:\Users\Alice\AppData\Roaming\lutgen
Names are case-insensitive and parsed from the file stem, minus any file extensions. For example, ~/.config/lutgen/My-palette.txt
would be avalable to use as my-palette
.
Custom palettes work anywhere a builtin palette would, ie lutgen apply -p my-palette
clap
-> bpaf
--gaussian-sampling --mean 0 --std-dev 20 --iters 128
)apply/a
, generate/g
, patch/p
)man 1 lutgen
)myimage-gruvbox.png
). This now has a optional flag -d
which can restore enabling directory output mode for single files (ie gruvbox/myimage.png
)lutgen apply -c ...
)Thanks to @pacak for all the help in resolving the edge cases in bpaf ❤️
Full Changelog: https://github.com/ozwaldorf/lutgen-rs/compare/v0.10.1...v0.11.0
Published by ozwaldorf 5 months ago
#ABCDEF
, rgb(4, 2, 0)
, and rgba(0, 1, 2, 0.5)
#000
)Full Changelog: https://github.com/ozwaldorf/lutgen-rs/compare/v0.10.0...v0.10.1
Published by ozwaldorf 7 months ago
GaussianRBF
, the default interpolation algorithm, is now 128
identity::generate
Full Changelog: https://github.com/ozwaldorf/lutgen-rs/compare/v0.9.0...v0.10.0
Published by ozwaldorf about 1 year ago
--preserve
flag for all rbf algorithms, which will preserve the original images luminocity values, after interpolation.
--lum 0 --preserve
to ignore all luminocity when interpolating, and to use the original images luminocity instead, for some really nice results.Full Changelog: https://github.com/ozwaldorf/lutgen-rs/compare/v0.8.3...v0.9.0
Published by ozwaldorf about 1 year ago
Full Changelog: https://github.com/ozwaldorf/lutgen-rs/compare/v0.8.2...v0.8.3
Published by ozwaldorf about 1 year ago
Fixes rbf interpolation functions
Full Changelog: https://github.com/ozwaldorf/lutgen-rs/compare/v0.8.1...v0.8.2
Published by ozwaldorf about 1 year ago
Full Changelog: https://github.com/ozwaldorf/lutgen-rs/compare/v0.8.0...v0.8.1
Published by ozwaldorf over 1 year ago
Functionality in the cli has been moved entirely within subcommands now:
This fixes issues where the completion scripts parse the subcommand as a custom color, and suggests to type the subcommand twice.
Custom colors also now need to be separated with a --
at the end of the command
Full Changelog: https://github.com/ozwaldorf/lutgen-rs/compare/v0.7.0...v0.8.0
Published by ozwaldorf over 1 year ago
--lum <factor>
)--completions <shell>
)Full Changelog: https://github.com/ozwaldorf/lutgen-rs/compare/v0.6.2...v0.7.0
Published by ozwaldorf over 1 year ago
Full Changelog: https://github.com/ozwaldorf/lutgen-rs/compare/v0.6.1...v0.6.2
Published by ozwaldorf over 1 year ago
lutgen-bin
Published by ozwaldorf over 1 year ago
RBF Based algorithms now operate within the Oklab colorspace.
This is a much better perceptual colorspace that is really good for gradients between colors, and produces very consistent results in terms of luminosity and other perceptual factors.
Full Changelog: https://github.com/ozwaldorf/lutgen-rs/compare/v0.5.0...v0.6.0
Published by ozwaldorf over 1 year ago
interpolated_remap
module is renamed to interpolation
lutgen::generate_lut<A>
generic function has been moved into the new GenerateLut
traitInterpolatedRemapper
trait no longer contains a new
constructor or associated type Params
; each implementation provides their own new functionGaussianV0
struct has been removed, the V1 implementation produces identical results nowGaussianV1
struct has been renamed to GaussianSampling
Full Changelog: https://github.com/ozwaldorf/lutgen-rs/compare/v0.4.3...v0.5.0
Published by ozwaldorf over 1 year ago
Published by ozwaldorf over 1 year ago
Full Changelog: https://github.com/ozwaldorf/lutgen-rs/compare/v0.4.1...v0.4.2
Published by ozwaldorf over 1 year ago
Add lut cache for apply subcommand
Full Changelog: https://github.com/ozwaldorf/lutgen-rs/compare/v0.4.0...v0.4.1
Published by ozwaldorf over 1 year ago
apply <image>
Full Changelog: https://github.com/ozwaldorf/lutgen-rs/compare/v0.3.2...v0.4.0
Published by ozwaldorf over 1 year ago
Fix base identity algorithm
Full Changelog: https://github.com/ozwaldorf/lutgen-rs/compare/v0.3.1...v0.3.2
Published by ozwaldorf over 1 year ago
Update usage texts around the repo
Full Changelog: https://github.com/ozwaldorf/lutgen-rs/compare/v0.3.0...v0.3.1
Published by ozwaldorf over 1 year ago
Refactor the library's algorithms around generic traits and some improvements to the binary
Full Changelog: https://github.com/ozwaldorf/lutgen-rs/compare/v0.2.1...v0.3.0