I noticed that when using CSS to resize a lossless png
file (for normal/Retina purposes), on latest Chrome, (54.x at the time of writing), the result is blurry.
When adding the following rule to the img tags
img {
image-rendering: -webkit-optimize-contrast;
}
Then the result is better:
The problem : Safari's engine renders this quite differently (much worse)
My questions
- how can I resize a lossless PNG without having quality problems?
- if resizing always causes issues, what's the alternative to handle Higher-DPI monitors? (support for https://www.sitepoint.com/how-to-build-responsive-images-with-srcset/ ?)