css-crisp-edges.json 8.7 KB

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