Skip to content

Conversation

@ashish0kumar
Copy link

This PR introduces Shepard's inverse distance weighting method as a new color correction backend, providing smooth and high-quality color interpolation for theme conversion.

Usage

# Use Shepard's method with default settings
gowall convert input.jpg --theme catppuccin --backend shepard

# Customize parameters
gowall convert input.jpg --theme nord --backend shepard --nearest 20 --power 3.0

# Available backends for comparison
gowall convert input.jpg --theme catppuccin --backend nn     	# Nearest neighbor
gowall convert input.jpg --theme catppuccin --backend rbf    	# RBF (default)
gowall convert input.jpg --theme catppuccin --backend shepard 	# Shepard's method

Background

This PR was created following your suggestion on my Reddit post about the tint project on r/unixporn, where you mentioned it would be a great fit to add Shepard's method as a backend to gowall instead of maintaining separate tools

@Achno
Copy link
Owner

Achno commented Jun 13, 2025

Hello @ashish0kumar ,

thanks for opening the PR, just giving you some heads up that it's exam season currently and i won't be able to review your PR until 2.5 weeks from now. Sorry for the inconvenience, but i don't have any time to spare, i hope you understand.

@ashish0kumar
Copy link
Author

Hello @ashish0kumar ,

thanks for opening the PR, just giving you some heads up that it's exam season currently and i won't be able to review your PR until 2.5 weeks from now. Sorry for the inconvenience, but i don't have any time to spare, i hope you understand.

No worries at all, completely understand, and really appreciate the heads-up!
Wishing you all the best for your exams!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants