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

Add interpolation choice flag #7

Merged
merged 1 commit into from
May 16, 2023
Merged

Conversation

carbocation
Copy link
Contributor

This PR adds a nearest-neighbor interpolation option that can be specified in the command line. Note that I had to pull in additional code to allow for parsing the filename as a positional argument in any order, but that could be removed if we can assume that flags must precede the file name if flags are passed.

Note that although the inspiration for this PR is #6 , this PR doesn't fully resolve that issue—I still get spurious color in some grayscale images, but it improves the display in most of them.

@danielgatis danielgatis merged commit 0477536 into danielgatis:master May 16, 2023
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