Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added nearest color mode for Fill Alpha #1883

Merged

Conversation

RunDevelopment
Copy link
Member

Nearest Color fills transparent pixels with the color of the nearest non-transparent pixel. In comparison, Extend Color is a crude but fast approximation of nearest color.

I already implemented this in chainner_ext a while ago, but just didn't add it to chainner yet.

Example

Original:
image

Nearest Color:
image

Extend Color:
image

Extend Texture (it uses Extend Color after a certain radius):
image

@joeyballentine joeyballentine merged commit 9d75c49 into chaiNNer-org:main Jun 20, 2023
10 checks passed
@RunDevelopment RunDevelopment deleted the fill-alpha-nearest-color branch June 20, 2023 20:12
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.

None yet

2 participants