File tree 1 file changed +5
-0
lines changed
1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -1710,17 +1710,20 @@ Determining How To Scale an Image: the 'image-rendering' property {#the-image-re
1710
1710
<dl dfn-type=value dfn-for=image-rendering>
1711
1711
<dt> <dfn>auto</dfn>
1712
1712
<dd>
1713
+ <p>
1713
1714
The scaling algorithm is UA dependent.
1714
1715
1715
1716
<dt> <dfn>smooth</dfn>
1716
1717
<dd>
1718
+ <p>
1717
1719
The image should be scaled with an algorithm that maximizes the appearance of the image.
1718
1720
In particular, scaling algorithms that "smooth" colors are acceptable,
1719
1721
such as bilinear interpolation.
1720
1722
This is intended for images such as photos.
1721
1723
1722
1724
<dt> <dfn>high-quality</dfn>
1723
1725
<dd>
1726
+ <p>
1724
1727
Identical to ''image-rendering/smooth'' ,
1725
1728
but with a preference for higher-quality scaling.
1726
1729
If system resources are constrained,
@@ -1743,6 +1746,7 @@ Determining How To Scale an Image: the 'image-rendering' property {#the-image-re
1743
1746
1744
1747
<dt> <dfn>pixelated</dfn>
1745
1748
<dd>
1749
+ <p>
1746
1750
The image is scaled in a way that preserves the pixelated nature of the original as much as possible,
1747
1751
but allows minor smoothing instead of awkward distortion when necessary.
1748
1752
@@ -1763,6 +1767,7 @@ Determining How To Scale an Image: the 'image-rendering' property {#the-image-re
1763
1767
1764
1768
<dt> <dfn caniuse="css-crisp-edges">crisp-edges</dfn>
1765
1769
<dd>
1770
+ <p>
1766
1771
The image is scaled in a way that preserves contrast and edges,
1767
1772
and which does not smooth colors or introduce blur to the image in the process.
1768
1773
You can’t perform that action at this time.
0 commit comments