Sharp pixels for Web display when `preserve_pixels` config is flagged
aostrega opened this issue · 1 comments
aostrega commented
Use nearest-neighbor interpolation for Web display when the preserve_pixels
configuration is set to true on at least Firefox and Chrome.
Working browsers
- Firefox
- Chrome
- Opera
- Safari (need to verify)
- Internet Explorer (need to verify)
aostrega commented
Implemented for Firefox and Safari via the image-rendering
CSS property at f177b07.
Looking for a good solution for Chrome. Using HTML5 Canvas context's imageSmoothingEnabled
property in combination with scaling may work for this project, though the ideal case would be Chrome adding support for the image-rendering
property.