treeform / pixie

Full-featured 2d graphics library for Nim.
MIT License
742 stars 28 forks source link

Support other interpolation methods in drawing operations #527

Open samdze opened 1 year ago

samdze commented 1 year ago

I was trying to manipulate pixel art images to implement a version of the RotSprite algorithm but seems like pixie doesn't support choosing which interpolation method to use when drawing scaled/rotated images.

To properly implement an algorithm like RotSprite I need to use the nearest-neighbour method.