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

Make preview image more pixelated #5

Open
nonetrix opened this issue Jan 27, 2023 · 0 comments
Open

Make preview image more pixelated #5

nonetrix opened this issue Jan 27, 2023 · 0 comments

Comments

@nonetrix
Copy link

As it is the preview image doesn't use nearest neighbor scaling so it looks blurry like this
image
When in fact the result is much better when viewed with nearest neighbor
image

This can be easily done with some simple CSS

img {
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
}

reference: https://css-tricks.com/keep-pixelated-images-pixelated-as-they-scale/

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

No branches or pull requests

1 participant