Skip to content

Option for Nearest-neigbor interpolation? #2

Description

@ondrej-vesely

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions