Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

add method to change drawing interpolator#131

Open
geo-stark wants to merge 1 commit intofogleman:master from
geo-stark:master
Open

add method to change drawing interpolator #131
geo-stark wants to merge 1 commit intofogleman:master from
geo-stark:master

Conversation

@geo-stark
Copy link

@geo-stark geo-stark commented Mar 30, 2021

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 stark.georgy@gmail.com

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 <stark.georgy@gmail.com>
Copy link

sbinet commented May 4, 2023

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

geo-stark reacted with thumbs up emoji

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

AltStyle によって変換されたページ (->オリジナル) /