W3cubDocs

/Support Tables

Crisp edges/pixelated images

Scales images with an algorithm that preserves edges and contrast, without smoothing colors or introducing blur. This is intended for images such as pixel art. Official values that accomplish this for the image-rendering property are crisp-edges and pixelated.

Spec https://w3c.github.io/csswg-drafts/css-images-3/#valdef-image-rendering-crisp-edges
Status W3C Candidate Recommendation
IE Edge Firefox Chrome Safari Opera
    147 144 (4)    
    146 143 (4) TP  
    145 142 (4) 26.1  
11 (2,5,*) 141 (4) 144 141 (4) 26.0 122 (4)
10 (2,5,*) 140 (4) 143 140 (4) 18.5-18.6 121 (4)
9 (2,5,*) 139 (4) 142 139 (4) 18.4 120 (4)
8 (2,5,*) 138 (4) 141 138 (4) 18.3 119 (4)
Show all
7 (2,5,*) 137 (4) 140 137 (4) 18.2 118 (4)
6 136 (4) 139 136 (4) 18.1 117 (4)
5.5 135 (4) 138 135 (4) 18.0 116 (4)
  134 (4) 137 134 (4) 17.6 115 (4)
  133 (4) 136 133 (4) 17.5 114 (4)
  132 (4) 135 132 (4) 17.4 113 (4)
  131 (4) 134 131 (4) 17.3 112 (4)
  130 (4) 133 130 (4) 17.2 111 (4)
  129 (4) 132 129 (4) 17.1 110 (4)
  128 (4) 131 128 (4) 17.0 109 (4)
  127 (4) 130 127 (4) 16.6 108 (4)
  126 (4) 129 126 (4) 16.5 107 (4)
  125 (4) 128 125 (4) 16.4 106 (4)
  124 (4) 127 124 (4) 16.3 105 (4)
  123 (4) 126 123 (4) 16.2 104 (4)
  122 (4) 125 122 (4) 16.1 103 (4)
  121 (4) 124 121 (4) 16.0 102 (4)
  120 (4) 123 120 (4) 15.6 101 (4)
  119 (4) 122 119 (4) 15.5 100 (4)
  118 (4) 121 118 (4) 15.4 99 (4)
  117 (4) 120 117 (4) 15.2-15.3 98 (4)
  116 (4) 119 116 (4) 15.1 97 (4)
  115 (4) 118 115 (4) 15 96 (4)
  114 (4) 117 114 (4) 14.1 95 (4)
  113 (4) 116 113 (4) 14 94 (4)
  112 (4) 115 112 (4) 13.1 93 (4)
  111 (4) 114 111 (4) 13 92 (4)
  110 (4) 113 110 (4) 12.1 91 (4)
  109 (4) 112 109 (4) 12 90 (4)
  108 (4) 111 108 (4) 11.1 89 (4)
  107 (4) 110 107 (4) 11 88 (4)
  106 (4) 109 106 (4) 10.1 87 (4)
  105 (4) 108 105 (4) 10 86 (4)
  104 (4) 107 104 (4) 9.1 (3,6,*) 85 (4)
  103 (4) 106 103 (4) 9 (3,6,*) 84 (4)
  102 (4) 105 102 (4) 8 (3,6,*) 83 (4)
  101 (4) 104 101 (4) 7.1 (3,6,*) 82 (4)
  100 (4) 103 100 (4) 7 (3,6,*) 81 (4)
  99 (4) 102 99 (4) 6.1 (3,6,*) 80 (4)
  98 (4) 101 98 (4) 6 (1,*) 79 (4)
  97 (4) 100 97 (4) 5.1 78 (4)
  96 (4) 99 96 (4) 5 77 (4)
  95 (4) 98 95 (4) 4 76 (4)
  94 (4) 97 94 (4) 3.2 75 (4)
  93 (4) 96 93 (4) 3.1 74 (4)
  92 (4) 95 92 (4)   73 (4)
  91 (4) 94 91 (4)   72 (4)
  90 (4) 93 90 (4)   71 (4)
  89 (4) 92 (3) 89 (4)   70 (4)
  88 (4) 91 (3) 88 (4)   69 (4)
  87 (4) 90 (3) 87 (4)   68 (4)
  86 (4) 89 (3) 86 (4)   67 (4)
  85 (4) 88 (3) 85 (4)   66 (4)
  84 (4) 87 (3) 84 (4)   65 (4)
  83 (4) 86 (3) 83 (4)   64 (4)
  81 (4) 85 (3) 81 (4)   63 (4)
  80 (4) 84 (3) 80 (4)   62 (4)
  79 (4) 83 (3) 79 (4)   60 (4)
  18 82 (3) 78 (4)   58 (4)
  17 81 (3) 77 (4)   57 (4)
  16 80 (3) 76 (4)   56 (4)
  15 79 (3) 75 (4)   55 (4)
  14 78 (3) 74 (4)   54 (4)
  13 77 (3) 73 (4)   53 (4)
  12 76 (3) 72 (4)   52 (4)
    75 (3) 71 (4)   51 (4)
    74 (3) 70 (4)   50 (4)
    73 (3) 69 (4)   49 (4)
    72 (3) 68 (4)   48 (4)
    71 (3) 67 (4)   47 (4)
    70 (3) 66 (4)   46 (4)
    69 (3) 65 (4)   45 (4)
    68 (3) 64 (4)   44 (4)
    67 (3) 63 (4)   43 (4)
    66 (3) 62 (4)   42 (4)
    65 (3) 61 (4)   41 (4)
    64 (3,*) 60 (4)   40 (4)
    63 (3,*) 59 (4)   39 (4)
    62 (3,*) 58 (4)   38 (4)
    61 (3,*) 57 (4)   37 (4)
    60 (3,*) 56 (4)   36 (4)
    59 (3,*) 55 (4)   35 (4)
    58 (3,*) 54 (4)   34 (4)
    57 (3,*) 53 (4)   33 (4)
    56 (3,*) 52 (4)   32 (4)
    55 (3,*) 51 (4)   31 (4)
    54 (3,*) 50 (4)   30 (4)
    53 (3,*) 49 (4)   29 (4)
    52 (3,*) 48 (4)   28 (4)
    51 (3,*) 47 (4)   27
    50 (3,*) 46 (4)   26
    49 (3,*) 45 (4)   25
    48 (3,*) 44 (4)   24
    47 (3,*) 43 (4)   23
    46 (3,*) 42 (4)   22
    45 (3,*) 41 (4)   21
    44 (3,*) 40   20
    43 (3,*) 39   19
    42 (3,*) 38   18
    41 (3,*) 37   17
    40 (3,*) 36   16
    39 (3,*) 35   15
    38 (3,*) 34   12.1 (3,*)
    37 (3,*) 33   12 (3,*)
    36 (3,*) 32   11.6 (3,*)
    35 (3,*) 31   11.5
    34 (3,*) 30   11.1
    33 (3,*) 29   11
    32 (3,*) 28   10.6
    31 (3,*) 27   10.5
    30 (3,*) 26   10.0-10.1
    29 (3,*) 25   9.5-9.6
    28 (3,*) 24   9
    27 (3,*) 23    
    26 (3,*) 22    
    25 (3,*) 21    
    24 (3,*) 20    
    23 (3,*) 19    
    22 (3,*) 18    
    21 (3,*) 17    
    20 (3,*) 16    
    19 (3,*) 15    
    18 (3,*) 14    
    17 (3,*) 13    
    16 (3,*) 12    
    15 (3,*) 11    
    14 (3,*) 10    
    13 (3,*) 9    
    12 (3,*) 8    
    11 (3,*) 7    
    10 (3,*) 6    
    9 (3,*) 5    
    8 (3,*) 4    
    7 (3,*)      
    6 (3,*)      
    5 (3,*)      
    4 (3,*)      
    3.6 (3,*)      
    3.5      
    3      
    2      
Safari on iOS Opera Mini Android Browser Blackberry Browser Opera Mobile Android Chrome Android Firefox IE Mobile Android UC Browser Samsung Internet QQ Browser Baidu Browser KaiOS Browser
26.1                        
26.0 all 141 (4) 10 (1,6,*) 80 (4) 141 (4) 143 11 (2,5,*) 15.5 (4) 28 (4) 14.9 (4) 13.52 (4) 3.0-3.1
18.5-18.6   4.4.3-4.4.4 7 12.1 (3,*)     10 (2,5,*)   27 (4)     2.5 (6)
18.4   4.4   12 (3,*)         26 (4)      
18.3   4.2-4.3   11.5         25 (4)      
Show all
18.2   4.1   11.1         24 (4)      
18.1   4   11         23 (4)      
18.0   3   10         22 (4)      
17.6-17.7   2.3             21 (4)      
17.5   2.2             20 (4)      
17.4   2.1             19.0 (4)      
17.3                 18.0 (4)      
17.2                 17.0 (4)      
17.1                 16.0 (4)      
17.0                 15.0 (4)      
16.6-16.7                 14.0 (4)      
16.5                 13.0 (4)      
16.4                 12.0 (4)      
16.3                 11.1-11.2 (4)      
16.2                 10.1 (4)      
16.1                 9.2 (4)      
16.0                 8.2 (4)      
15.6-15.8                 7.2-7.4 (4)      
15.5                 6.2-6.4 (4)      
15.4                 5.0-5.4 (4)      
15.2-15.3                 4 (4)      
15.0-15.1                        
14.5-14.8                        
14.0-14.4                        
13.4-13.7                        
13.3                        
13.2                        
13.0-13.1                        
12.2-12.5                        
12.0-12.1                        
11.3-11.4                        
11.0-11.2                        
10.3                        
10.0-10.2                        
9.3 (3,6,*)                        
9.0-9.2 (3,6,*)                        
8.1-8.4 (3,6,*)                        
8 (3,6,*)                        
7.0-7.1 (3,6,*)                        
6.0-6.1 (1,6,*)                        
5.0-5.1 (1,6,*)                        
4.2-4.3                        
4.0-4.1                        
3.2                        

Notes

Note that prefixes apply to the value (e.g. -moz-crisp-edges), not the image-rendering property.

  1. Supported using the non-standard value -webkit-optimize-contrast

  2. Internet Explorer accomplishes support using the non-standard declaration -ms-interpolation-mode: nearest-neighbor

  3. Supports the crisp-edges value, but not pixelated.

  4. Supports the pixelated value, but not crisp-edges.

  5. Only works on <img>, not CSS backgrounds or <canvas>.

  6. Only works on <img> and CSS backgrounds, _not_ <canvas>.

* Partial support with prefix.

Bugs

  • image-rendering:-webkit-optimize-contrast; and -ms-interpolation-mode:nearest-neighbor do not affect CSS images.

  • Safari had a bug where image-rendering: pixelated is not supported for WebGL contexts.

Resources

Data by caniuse.com
Licensed under the Creative Commons Attribution License v4.0.
https://caniuse.com/css-crisp-edges