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
      108 (4)    
    107 107 (4) TP  
    106 106 (4) 16.1  
11 (2,5,*) 105 (4) 105 105 (4) 16.0 91 (4)
10 (2,5,*) 104 (4) 104 104 (4) 15.6 90 (4)
9 (2,5,*) 103 (4) 103 103 (4) 15.5 89 (4)
8 (2,5,*) 102 (4) 102 102 (4) 15.4 88 (4)
Show all
7 (2,5,*) 101 (4) 101 101 (4) 15.2-15.3 87 (4)
6 100 (4) 100 100 (4) 15.1 86 (4)
5.5 99 (4) 99 99 (4) 15 85 (4)
  98 (4) 98 98 (4) 14.1 84 (4)
  97 (4) 97 97 (4) 14 83 (4)
  96 (4) 96 96 (4) 13.1 82 (4)
  95 (4) 95 95 (4) 13 81 (4)
  94 (4) 94 94 (4) 12.1 80 (4)
  93 (4) 93 93 (4) 12 79 (4)
  92 (4) 92 (3) 92 (4) 11.1 78 (4)
  91 (4) 91 (3) 91 (4) 11 77 (4)
  90 (4) 90 (3) 90 (4) 10.1 76 (4)
  89 (4) 89 (3) 89 (4) 10 75 (4)
  88 (4) 88 (3) 88 (4) 9.1 (3,6,*) 74 (4)
  87 (4) 87 (3) 87 (4) 9 (3,6,*) 73 (4)
  86 (4) 86 (3) 86 (4) 8 (3,6,*) 72 (4)
  85 (4) 85 (3) 85 (4) 7.1 (3,6,*) 71 (4)
  84 (4) 84 (3) 84 (4) 7 (3,6,*) 70 (4)
  83 (4) 83 (3) 83 (4) 6.1 (3,6,*) 69 (4)
  81 (4) 82 (3) 81 (4) 6 (1,*) 68 (4)
  80 (4) 81 (3) 80 (4) 5.1 67 (4)
  79 (4) 80 (3) 79 (4) 5 66 (4)
  18 79 (3) 78 (4) 4 65 (4)
  17 78 (3) 77 (4) 3.2 64 (4)
  16 77 (3) 76 (4) 3.1 63 (4)
  15 76 (3) 75 (4)   62 (4)
  14 75 (3) 74 (4)   60 (4)
  13 74 (3) 73 (4)   58 (4)
  12 73 (3) 72 (4)   57 (4)
    72 (3) 71 (4)   56 (4)
    71 (3) 70 (4)   55 (4)
    70 (3) 69 (4)   54 (4)
    69 (3) 68 (4)   53 (4)
    68 (3) 67 (4)   52 (4)
    67 (3) 66 (4)   51 (4)
    66 (3) 65 (4)   50 (4)
    65 (3) 64 (4)   49 (4)
    64 (3,*) 63 (4)   48 (4)
    63 (3,*) 62 (4)   47 (4)
    62 (3,*) 61 (4)   46 (4)
    61 (3,*) 60 (4)   45 (4)
    60 (3,*) 59 (4)   44 (4)
    59 (3,*) 58 (4)   43 (4)
    58 (3,*) 57 (4)   42 (4)
    57 (3,*) 56 (4)   41 (4)
    56 (3,*) 55 (4)   40 (4)
    55 (3,*) 54 (4)   39 (4)
    54 (3,*) 53 (4)   38 (4)
    53 (3,*) 52 (4)   37 (4)
    52 (3,*) 51 (4)   36 (4)
    51 (3,*) 50 (4)   35 (4)
    50 (3,*) 49 (4)   34 (4)
    49 (3,*) 48 (4)   33 (4)
    48 (3,*) 47 (4)   32 (4)
    47 (3,*) 46 (4)   31 (4)
    46 (3,*) 45 (4)   30 (4)
    45 (3,*) 44 (4)   29 (4)
    44 (3,*) 43 (4)   28 (4)
    43 (3,*) 42 (4)   27
    42 (3,*) 41 (4)   26
    41 (3,*) 40   25
    40 (3,*) 39   24
    39 (3,*) 38   23
    38 (3,*) 37   22
    37 (3,*) 36   21
    36 (3,*) 35   20
    35 (3,*) 34   19
    34 (3,*) 33   18
    33 (3,*) 32   17
    32 (3,*) 31   16
    31 (3,*) 30   15
    30 (3,*) 29   12.1 (3,*)
    29 (3,*) 28   12 (3,*)
    28 (3,*) 27   11.6 (3,*)
    27 (3,*) 26   11.5
    26 (3,*) 25   11.1
    25 (3,*) 24   11
    24 (3,*) 23   10.6
    23 (3,*) 22   10.5
    22 (3,*) 21   10.0-10.1
    21 (3,*) 20   9.5-9.6
    20 (3,*) 19   9
    19 (3,*) 18    
    18 (3,*) 17    
    17 (3,*) 16    
    16 (3,*) 15    
    15 (3,*) 14    
    14 (3,*) 13    
    13 (3,*) 12    
    12 (3,*) 11    
    11 (3,*) 10    
    10 (3,*) 9    
    9 (3,*) 8    
    8 (3,*) 7    
    7 (3,*) 6    
    6 (3,*) 5    
    5 (3,*) 4    
    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
16.1                        
16.0 all 105 (4) 10 (1,6,*) 64 (4) 105 (4) 104 11 (2,5,*) 13.4 (4) 18.0 (4) 13.1 (4) 13.18 (4) 2.5 (6)
15.6   4.4.3-4.4.4 7 12.1 (3,*)     10 (2,5,*)   17.0 (4)      
15.5   4.4   12 (3,*)         16.0 (4)      
15.4   4.2-4.3   11.5         15.0 (4)      
Show all
15.2-15.3   4.1   11.1         14.0 (4)      
15.0-15.1   4   11         13.0 (4)      
14.5-14.8   3   10         12.0 (4)      
14.0-14.4   2.3             11.1-11.2 (4)      
13.4-13.7   2.2             10.1 (4)      
13.3   2.1             9.2 (4)      
13.2                 8.2 (4)      
13.0-13.1                 7.2-7.4 (4)      
12.2-12.5                 6.2-6.4 (4)      
12.0-12.1                 5.0-5.4 (4)      
11.3-11.4                 4 (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