css-crisp-edges.json 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475
  1. {
  2. "title":"Crisp edges/pixelated images",
  3. "description":"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`.",
  4. "spec":"https://drafts.csswg.org/css-images-3/#valdef-image-rendering-crisp-edges",
  5. "status":"unoff",
  6. "links":[
  7. {
  8. "url":"https://developer.mozilla.org/en-US/docs/Web/CSS/image-rendering",
  9. "title":"MDN Web Docs - CSS Image rendering"
  10. },
  11. {
  12. "url":"http://updates.html5rocks.com/2015/01/pixelated",
  13. "title":"HTML5Rocks article"
  14. },
  15. {
  16. "url":"https://bugzilla.mozilla.org/show_bug.cgi?id=856337",
  17. "title":"Firefox bug #856337: Implement image-rendering: pixelated"
  18. },
  19. {
  20. "url":"https://bugs.chromium.org/p/chromium/issues/detail?id=317991",
  21. "title":"Chrome bug #317991: Implement image-rendering:crisp-edges"
  22. }
  23. ],
  24. "bugs":[
  25. {
  26. "description":"`image-rendering:-webkit-optimize-contrast;` and `-ms-interpolation-mode:nearest-neighbor` do not affect CSS images."
  27. },
  28. {
  29. "description":"Safari [has a bug](https://bugs.webkit.org/show_bug.cgi?id=193895) where `image-rendering: pixelated` is not supported for WebGL contexts."
  30. }
  31. ],
  32. "categories":[
  33. "CSS",
  34. "CSS3"
  35. ],
  36. "stats":{
  37. "ie":{
  38. "5.5":"n",
  39. "6":"n",
  40. "7":"a x #2 #5",
  41. "8":"a x #2 #5",
  42. "9":"a x #2 #5",
  43. "10":"a x #2 #5",
  44. "11":"a x #2 #5"
  45. },
  46. "edge":{
  47. "12":"n",
  48. "13":"n",
  49. "14":"n",
  50. "15":"n",
  51. "16":"n",
  52. "17":"n",
  53. "18":"n",
  54. "79":"y #4",
  55. "80":"y #4",
  56. "81":"y #4",
  57. "83":"y #4",
  58. "84":"y #4",
  59. "85":"y #4",
  60. "86":"y #4",
  61. "87":"y #4",
  62. "88":"y #4",
  63. "89":"y #4",
  64. "90":"y #4",
  65. "91":"y #4",
  66. "92":"y #4",
  67. "93":"y #4",
  68. "94":"y #4"
  69. },
  70. "firefox":{
  71. "2":"n",
  72. "3":"n",
  73. "3.5":"n",
  74. "3.6":"y x #3",
  75. "4":"y x #3",
  76. "5":"y x #3",
  77. "6":"y x #3",
  78. "7":"y x #3",
  79. "8":"y x #3",
  80. "9":"y x #3",
  81. "10":"y x #3",
  82. "11":"y x #3",
  83. "12":"y x #3",
  84. "13":"y x #3",
  85. "14":"y x #3",
  86. "15":"y x #3",
  87. "16":"y x #3",
  88. "17":"y x #3",
  89. "18":"y x #3",
  90. "19":"y x #3",
  91. "20":"y x #3",
  92. "21":"y x #3",
  93. "22":"y x #3",
  94. "23":"y x #3",
  95. "24":"y x #3",
  96. "25":"y x #3",
  97. "26":"y x #3",
  98. "27":"y x #3",
  99. "28":"y x #3",
  100. "29":"y x #3",
  101. "30":"y x #3",
  102. "31":"y x #3",
  103. "32":"y x #3",
  104. "33":"y x #3",
  105. "34":"y x #3",
  106. "35":"y x #3",
  107. "36":"y x #3",
  108. "37":"y x #3",
  109. "38":"y x #3",
  110. "39":"y x #3",
  111. "40":"y x #3",
  112. "41":"y x #3",
  113. "42":"y x #3",
  114. "43":"y x #3",
  115. "44":"y x #3",
  116. "45":"y x #3",
  117. "46":"y x #3",
  118. "47":"y x #3",
  119. "48":"y x #3",
  120. "49":"y x #3",
  121. "50":"y x #3",
  122. "51":"y x #3",
  123. "52":"y x #3",
  124. "53":"y x #3",
  125. "54":"y x #3",
  126. "55":"y x #3",
  127. "56":"y x #3",
  128. "57":"y x #3",
  129. "58":"y x #3",
  130. "59":"y x #3",
  131. "60":"y x #3",
  132. "61":"y x #3",
  133. "62":"y x #3",
  134. "63":"y x #3",
  135. "64":"y x #3",
  136. "65":"y #3",
  137. "66":"y #3",
  138. "67":"y #3",
  139. "68":"y #3",
  140. "69":"y #3",
  141. "70":"y #3",
  142. "71":"y #3",
  143. "72":"y #3",
  144. "73":"y #3",
  145. "74":"y #3",
  146. "75":"y #3",
  147. "76":"y #3",
  148. "77":"y #3",
  149. "78":"y #3",
  150. "79":"y #3",
  151. "80":"y #3",
  152. "81":"y #3",
  153. "82":"y #3",
  154. "83":"y #3",
  155. "84":"y #3",
  156. "85":"y #3",
  157. "86":"y #3",
  158. "87":"y #3",
  159. "88":"y #3",
  160. "89":"y #3",
  161. "90":"y #3",
  162. "91":"y #3",
  163. "92":"y #3",
  164. "93":"y",
  165. "94":"y",
  166. "95":"y"
  167. },
  168. "chrome":{
  169. "4":"n",
  170. "5":"n",
  171. "6":"n",
  172. "7":"n",
  173. "8":"n",
  174. "9":"n",
  175. "10":"n",
  176. "11":"n",
  177. "12":"n",
  178. "13":"n",
  179. "14":"n",
  180. "15":"n",
  181. "16":"n",
  182. "17":"n",
  183. "18":"n",
  184. "19":"n",
  185. "20":"n",
  186. "21":"n",
  187. "22":"n",
  188. "23":"n",
  189. "24":"n",
  190. "25":"n",
  191. "26":"n",
  192. "27":"n",
  193. "28":"n",
  194. "29":"n",
  195. "30":"n",
  196. "31":"n",
  197. "32":"n",
  198. "33":"n",
  199. "34":"n",
  200. "35":"n",
  201. "36":"n",
  202. "37":"n",
  203. "38":"n",
  204. "39":"n",
  205. "40":"n",
  206. "41":"y #4",
  207. "42":"y #4",
  208. "43":"y #4",
  209. "44":"y #4",
  210. "45":"y #4",
  211. "46":"y #4",
  212. "47":"y #4",
  213. "48":"y #4",
  214. "49":"y #4",
  215. "50":"y #4",
  216. "51":"y #4",
  217. "52":"y #4",
  218. "53":"y #4",
  219. "54":"y #4",
  220. "55":"y #4",
  221. "56":"y #4",
  222. "57":"y #4",
  223. "58":"y #4",
  224. "59":"y #4",
  225. "60":"y #4",
  226. "61":"y #4",
  227. "62":"y #4",
  228. "63":"y #4",
  229. "64":"y #4",
  230. "65":"y #4",
  231. "66":"y #4",
  232. "67":"y #4",
  233. "68":"y #4",
  234. "69":"y #4",
  235. "70":"y #4",
  236. "71":"y #4",
  237. "72":"y #4",
  238. "73":"y #4",
  239. "74":"y #4",
  240. "75":"y #4",
  241. "76":"y #4",
  242. "77":"y #4",
  243. "78":"y #4",
  244. "79":"y #4",
  245. "80":"y #4",
  246. "81":"y #4",
  247. "83":"y #4",
  248. "84":"y #4",
  249. "85":"y #4",
  250. "86":"y #4",
  251. "87":"y #4",
  252. "88":"y #4",
  253. "89":"y #4",
  254. "90":"y #4",
  255. "91":"y #4",
  256. "92":"y #4",
  257. "93":"y #4",
  258. "94":"y #4",
  259. "95":"y #4",
  260. "96":"y #4",
  261. "97":"y #4"
  262. },
  263. "safari":{
  264. "3.1":"n",
  265. "3.2":"n",
  266. "4":"n",
  267. "5":"n",
  268. "5.1":"n",
  269. "6":"a x #1",
  270. "6.1":"a x #3 #6",
  271. "7":"a x #3 #6",
  272. "7.1":"a x #3 #6",
  273. "8":"a x #3 #6",
  274. "9":"a x #3 #6",
  275. "9.1":"a x #3 #6",
  276. "10":"y",
  277. "10.1":"y",
  278. "11":"y",
  279. "11.1":"y",
  280. "12":"y",
  281. "12.1":"y",
  282. "13":"y",
  283. "13.1":"y",
  284. "14":"y",
  285. "14.1":"y",
  286. "15":"y",
  287. "TP":"y"
  288. },
  289. "opera":{
  290. "9":"n",
  291. "9.5-9.6":"n",
  292. "10.0-10.1":"n",
  293. "10.5":"n",
  294. "10.6":"n",
  295. "11":"n",
  296. "11.1":"n",
  297. "11.5":"n",
  298. "11.6":"y x #3",
  299. "12":"y x #3",
  300. "12.1":"y x #3",
  301. "15":"n",
  302. "16":"n",
  303. "17":"n",
  304. "18":"n",
  305. "19":"n",
  306. "20":"n",
  307. "21":"n",
  308. "22":"n",
  309. "23":"n",
  310. "24":"n",
  311. "25":"n",
  312. "26":"n",
  313. "27":"n",
  314. "28":"y #4",
  315. "29":"y #4",
  316. "30":"y #4",
  317. "31":"y #4",
  318. "32":"y #4",
  319. "33":"y #4",
  320. "34":"y #4",
  321. "35":"y #4",
  322. "36":"y #4",
  323. "37":"y #4",
  324. "38":"y #4",
  325. "39":"y #4",
  326. "40":"y #4",
  327. "41":"y #4",
  328. "42":"y #4",
  329. "43":"y #4",
  330. "44":"y #4",
  331. "45":"y #4",
  332. "46":"y #4",
  333. "47":"y #4",
  334. "48":"y #4",
  335. "49":"y #4",
  336. "50":"y #4",
  337. "51":"y #4",
  338. "52":"y #4",
  339. "53":"y #4",
  340. "54":"y #4",
  341. "55":"y #4",
  342. "56":"y #4",
  343. "57":"y #4",
  344. "58":"y #4",
  345. "60":"y #4",
  346. "62":"y #4",
  347. "63":"y #4",
  348. "64":"y #4",
  349. "65":"y #4",
  350. "66":"y #4",
  351. "67":"y #4",
  352. "68":"y #4",
  353. "69":"y #4",
  354. "70":"y #4",
  355. "71":"y #4",
  356. "72":"y #4",
  357. "73":"y #4",
  358. "74":"y #4",
  359. "75":"y #4",
  360. "76":"y #4",
  361. "77":"y #4",
  362. "78":"y #4",
  363. "79":"y #4",
  364. "80":"y #4"
  365. },
  366. "ios_saf":{
  367. "3.2":"n",
  368. "4.0-4.1":"n",
  369. "4.2-4.3":"n",
  370. "5.0-5.1":"a x #1 #6",
  371. "6.0-6.1":"a x #1 #6",
  372. "7.0-7.1":"a x #3 #6",
  373. "8":"a x #3 #6",
  374. "8.1-8.4":"a x #3 #6",
  375. "9.0-9.2":"a x #3 #6",
  376. "9.3":"a x #3 #6",
  377. "10.0-10.2":"y",
  378. "10.3":"y",
  379. "11.0-11.2":"y",
  380. "11.3-11.4":"y",
  381. "12.0-12.1":"y",
  382. "12.2-12.5":"y",
  383. "13.0-13.1":"y",
  384. "13.2":"y",
  385. "13.3":"y",
  386. "13.4-13.7":"y",
  387. "14.0-14.4":"y",
  388. "14.5-14.8":"y",
  389. "15":"y"
  390. },
  391. "op_mini":{
  392. "all":"n"
  393. },
  394. "android":{
  395. "2.1":"n",
  396. "2.2":"n",
  397. "2.3":"n",
  398. "3":"n",
  399. "4":"n",
  400. "4.1":"n",
  401. "4.2-4.3":"n",
  402. "4.4":"n",
  403. "4.4.3-4.4.4":"n",
  404. "94":"y #4"
  405. },
  406. "bb":{
  407. "7":"n",
  408. "10":"a x #1 #6"
  409. },
  410. "op_mob":{
  411. "10":"n",
  412. "11":"n",
  413. "11.1":"n",
  414. "11.5":"n",
  415. "12":"y x #3",
  416. "12.1":"y x #3",
  417. "64":"y #4"
  418. },
  419. "and_chr":{
  420. "94":"y #4"
  421. },
  422. "and_ff":{
  423. "92":"y x #3"
  424. },
  425. "ie_mob":{
  426. "10":"a x #2 #5",
  427. "11":"a x #2 #5"
  428. },
  429. "and_uc":{
  430. "12.12":"y"
  431. },
  432. "samsung":{
  433. "4":"y #4",
  434. "5.0-5.4":"y #4",
  435. "6.2-6.4":"y #4",
  436. "7.2-7.4":"y #4",
  437. "8.2":"y #4",
  438. "9.2":"y #4",
  439. "10.1":"y #4",
  440. "11.1-11.2":"y #4",
  441. "12.0":"y #4",
  442. "13.0":"y #4",
  443. "14.0":"y #4",
  444. "15.0":"y #4"
  445. },
  446. "and_qq":{
  447. "10.4":"y #4"
  448. },
  449. "baidu":{
  450. "7.12":"y #4"
  451. },
  452. "kaios":{
  453. "2.5":"y #6"
  454. }
  455. },
  456. "notes":"Note that prefixes apply to the value (e.g. `-moz-crisp-edges`), not the `image-rendering` property.",
  457. "notes_by_num":{
  458. "1":"Supported using the non-standard value `-webkit-optimize-contrast`",
  459. "2":"Internet Explorer accomplishes support using the non-standard declaration `-ms-interpolation-mode: nearest-neighbor`",
  460. "3":"Supports the `crisp-edges` value, but not `pixelated`.",
  461. "4":"Supports the `pixelated` value, but not `crisp-edges`.",
  462. "5":"Only works on `<img>`, not CSS backgrounds or `<canvas>`.",
  463. "6":"Only works on `<img>` and CSS backgrounds, _not_ `<canvas>`. "
  464. },
  465. "usage_perc_y":96.42,
  466. "usage_perc_a":1.27,
  467. "ucprefix":false,
  468. "parent":"",
  469. "keywords":"image-rendering,crisp-edges",
  470. "ie_id":"imagerendering",
  471. "chrome_id":"5118058116939776",
  472. "firefox_id":"",
  473. "webkit_id":"",
  474. "shown":true
  475. }