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

image-rendering may improve image quality on Chromium Browsers #59

Closed
ricealexander opened this issue Nov 18, 2020 · 1 comment
Closed

Comments

@ricealexander
Copy link

ricealexander commented Nov 18, 2020

I'm viewing the site from my Windows desktop from Brave Browser (Chromium).
The images appear slightly blurry.

code-snippet-default-rendering

When the following CSS is applied, the image quality is greatly improved.

.screenshot img {
    image-rendering: -webkit-optimize-contrast;
}

code-snippet-optimize-contrast

In Google Chrome, Microsoft Edge, and Brave Browser (all Chromium), applying that CSS greatly improved the quality of the image. In Firefox, the image displayed at a high-quality without any image-rendering changes needed.

chriscoyier added a commit that referenced this issue Jan 18, 2021
Add image-rendering as suggested in #59
@chriscoyier
Copy link
Contributor

done

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

2 participants