1、linux 命令 将后缀名为ico的图片转换成后缀为png:
convert 1.ico 1.png (图片路径写绝对路径)
2、将js代码进行转换的工具(Babel):
http://babeljs.io/repl/#?babili=false&browsers=&build=&builtIns=false&code_lz=CQCgZgrgdgxgLgSwPZRASgN4CgAEecBuAhgE44QAOAJkXAKYCiANnQLZ1RwCSUVdAHjgC8OSLEQoQdFqwA0OCiTpgE_eb35oc2fLsKkcCKgCU6AcwHCcUOgHccpsw34UQi5apwBqHAHIAtCAAOkFUXgA-APqR7ir80Wj-vmiyuHrpShRMRDBsHHBWsZ4-Ab7e1lSCJUkA3GnpCGA4UjIAdLRwJCAARGBIJN1oWtJs7XCdPX0D8iOsYxO9_YOtmdm5IEaOAvKrOXmcQ3XpeI3Ns_NdvkbJw20dl9czd-MPVMkrdFl7Gybm2zi7XLsA5oI7HU4tUb3EC-KBEdg3HDnaGw-F0XxPKEvGFwhFoD5fdabP5qAGfNb7OCHeo4AC-qV0KhYMBQnSQTCEoF8AGIjJEmdIEABnODJGkClmcEjsi4wx69BAsJjCuD-AAM_iMg3FirokrZTFlqIRsgVSpV6v8uLo2uOol1-ulhpRSgAjhAEEo3rJOhA6GgsDSivwhGbBSLuoHdP0EGYEFBIkwkDBaMgoEIJayna0KKR8ugc3nOAWiFQqABhbJCoUwgXKkVi3T0VhfehCGNxhNJlMSKCtGBJmzoGnN1t0VoqXgw7IAI2k73o_DgPVt-AQrDMnJAAAMADzrsyGKhCXylt44IUkGChgD0ItTMBvADFdQAVEhEKBCm_rogWb9nsqUAANY5lAZjdBecAAJ4sCethGHAAAWABcABMaoUPwZREEwcChme3QAHzbgGuh8EwkQHlue4HjgA5ENWJ4UXQ9CRAx1ZlJe17dHecAPs-b4fl-P6sH-dDfqw8YQEKYEQVBsF0PBiGoRhWE4XhBFlsRpEjmwY4TvGVBylAFAQHAKEqCQDb4rmSjFviRBgPQXQUVRG5kfgo7ZPQhlTt0rQsWxHFCssA4IDAwHgNA8BplImA0jeABUkpCuy45JmY8U1ElN40rooDjvxJAWFShb2cu-JKKwSAEHQ6BgngtI0p5eCZlKMp2fmjnOXQXQHqCNJctyZ7vOFkXReIcUJXayWpelrSZT0SDAYMuX5V5QjebQ44Dig9W-v6G14B28aJsmqYoO0vVdFSx04FyhnmjZrR0DkSGTbFkgILIBAzXa-BzSgaUsItSBZT9f3rQDxygH9fnGb4s7SLI8ZmaK-JvTAH33TDbUxb2IAAFayP6Oh4xTlA0PQzCUjwfD8CAhUpMGqOtRTejNRz-Ds3aXPHOztIBkLNRAA&debug=false&forceAllTransforms=false&shippedProposals=false&circleciRepo=&evaluate=false&fileSize=false&lineWrap=true&presets=es2015%2Creact%2Cstage-2&prettier=false&targets=&version=6.26.0&envVersion=