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

Feature to intelligently fill corners #2

Merged
merged 3 commits into from
May 13, 2024
Merged

Conversation

AdamBajger
Copy link
Owner

The corners will be filled by taking pixels patches from the card close to the corners and covering the transparent areas with it.
This way it is able to fill the corners of any color and, to some extent, border-less cards as well.

- fill the corners of the cards using their own edges, allowing filled border for cards of any border color.
- make filled corners for borderless cards look good as well.
- make the border-filling finctions static
- rename CLI functions to generic names
- designate output destination for tests
- since for each corner, the code gets executed similarly, make the methods share code as much as possible
- add docstrings
- fix method name shadowing
@AdamBajger AdamBajger merged commit 0f77830 into master May 13, 2024
4 checks passed
@AdamBajger AdamBajger deleted the feature/fill_corners branch May 13, 2024 22:45
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.

1 participant