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 method to change drawing interpolator #131

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

geo-stark
Copy link

default interpolator used for drawing text and images is draw.BiLinear
and it's rather slow against e.g. draw.NearestNeighbor
The difference is significant especially on weak hardware
e.g. on raspberry pi zero (ARMv6) drawing short string can be 10-16 times
faster with draw.NearestNeighbor

Signed-off-by: George Stark [email protected]

default interpolator used for drawing text and images is draw.BiLinear
and it's rather slow against e.g. draw.NearestNeighbor
The difference is significant especially on weak hardware
e.g. on raspberry pi zero (ARMv6) drawing short string can be 10-16 times
faster with draw.NearestNeighbor

Signed-off-by: George Stark <[email protected]>
@sbinet
Copy link

sbinet commented May 4, 2023

FYI, I've added something along these lines on "my" fork of gg:

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.

2 participants