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

Scale images by nearest neighbour in HTML render. #32

Merged
merged 1 commit into from
Oct 3, 2019
Merged

Scale images by nearest neighbour in HTML render. #32

merged 1 commit into from
Oct 3, 2019

Conversation

Dinosaurismus
Copy link
Contributor

This PR adds some CSS that makes images scale by nearest neighbour instead of bilinear in the HTML render. This makes the images more crisp and sharp looking when zoomed in.

This is the difference when zoomed in at 500%. Above is with the current scaling, and below is with nearest neighbour.

some_css_can_make_all_the_difference

@piegamesde piegamesde merged commit 6c4904c into piegamesde:master Oct 3, 2019
@piegamesde
Copy link
Owner

Thank you very much.

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