Images that are already in a colorscheme get there colors changed.
IogaMaster opened this issue · comments
Describe the bug
I have wallpapers that are already catppuccin-mocha colored.
When I run them through lutgen the colors get washed out.
To Reproduce
Have wallpaper in catppuccin-mocha
Run it through lutgen
Bad colors
Expected behavior
The same colors as they are already in that colorscheme
Environment (please complete the following information):
- OS: NixOS unstable
- Lutgen Version 0.8.3 on nixpkgs-unstable
Additional context
Running through a script that takes all wallpapers and spits the recolors out.
Does increasing the hald clut level help? lutgen apply ... --level 16
No, i ran
lutgen apply cat_Japanese_Neon.png -p catppuccin-mocha --level 16
@ozwaldorf Do you need any additional info
@IogaMaster can you post the original (catppuccin mocha) image so I can test some things?
I should also note that this is an extreme edge case, as I'm not sure why the vast majority of people would want to recolor an image that has already been recolored.
@ozwaldorf Okay
The reason that the image is recolored, is my tool https://github.com/IogaMaster/prism. Will recolor all images to the specified colorscheme.
This is one I have that is catppuccin-mocha already (not put through your tool yet), then gets muted when run through lutgen.
Are you sure this original image is in catppuccin mocha? I pulled some hex colors from the image, and none of them match the colors specified here: https://github.com/catppuccin/catppuccin#-palette
Maybe this is in the older and now deprecated alpha version of catppuccin?
Checking the colors that got assigned by lutgen, are much closer to the official hex points provided by the projects specification (they wont be 100% perfect, as lutgen interpolates between them, so there can be colors that are "not quite" but pretty close. You can also increase the shape parameter to bring the colors closer to the spec, but might find some banding with an image with lots of gradients)
Hmm, the source said it was
Maybe it isn't
Also, worth a mention if you want it, this is the original image before any modifications, which looks quite nice passed through lutgen :)
Could you check these (I found these is catppuccin wallpapers):
They get muted