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

Option for Nearest-neigbor interpolation? #2

Open
ondrej-vesely opened this issue May 8, 2022 · 0 comments
Open

Option for Nearest-neigbor interpolation? #2

ondrej-vesely opened this issue May 8, 2022 · 0 comments

Comments

@ondrej-vesely
Copy link

ondrej-vesely commented May 8, 2022

Hi David,

First of all thanks for the this great work on Graphic+ and other plugins from the "post-Aviary line". They are all genuinely useful and well thought out packages 😎. I've come to depend on them quite a lot lately, particularly the Graphic+ and Bitmap+ for exporting raster maps of spatial data processed in Grasshopper.

One thing that my particular use case would benefit from, would be an option to use nearest neighbor interpolation when rasterizing the Graphic+ drawings. I've sort of hacked my way around the issue by generating the Graphic+ bitmaps at very high resolutions and then downsampling them using nn-interpolation from Bitmap+, but it obviously doesn't work perfectly (and adds unnecessary rendering time).

I'm not sure how feasable is it to add this option, take it as just a suggestion. Maybe during the summer once I have more free time I could even look into this myself if you are open to accepting PRs?

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

No branches or pull requests

1 participant