[csswg-drafts] [css-images] Specific algorithms for image-rendering (#6252)

progers has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-images] Specific algorithms for image-rendering ==
The [`image-rendering`](https://drafts.csswg.org/css-images-3/#the-image-rendering) property supports values such as `smooth` and `high-quality` but these are not specific enough. Bilinear is preferable in some cases ([example](https://blog.codinghorror.com/the-myth-of-infinite-detail-bilinear-vs-bicubic/)), but not others, and we get bugs about this in chrome ([crbug.com/562162](https://crbug.com/562162)). To change our defaults to be cubic in more cases, we need a way for users to request other algorithms.

Could we support the following new values for `image-rendering`?
* `nearest-neighbor`
* `bilinear`
* `trilinear` (using mipmaps)
* `cubic-mitchell`

The first three of these are ubiquitous and are typically available in hardware. An alternative to `cubic-mitchell` is to just specify `cubic` and leave the details up to implementations (see [this page](https://entropymine.com/imageworsener/bicubic/)).

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6252 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 29 April 2021 19:48:50 UTC