title: Convert ICO icon file to PNG image file using plain Javascript
body: <p>I want to..</p>
  
  <ul>
  <li>.. convert an ICO file (e.g. <a href="http://www.google.com/favicon.ico" rel="nofollow">http://www.google.com/favicon.ico</a> ) to a PNG file after I downloaded it.</li>
  <li>.. preserve transparency.</li>
  <li>.. apply the solution in a node.js application.</li>
  </ul>
  
  <p>I <em>don't</em> want to and already tried to ..</p>
  
  <ul>
  <li>.. use native tools such as imagemagick (that's what I <em>currently</em> use in my application, but it's really bad for maintaining platform independency).</li>
  <li>.. use tools that internally use native tools (e.g. <a href="http://aheckmann.github.io/gm/" rel="nofollow">gm.js</a>).</li>
  <li>.. rely on webservices such as <a href="http://www.google.com/s2/favicons?domain=www.google.de" rel="nofollow">http://www.google.com/s2/favicons?domain=www.google.de</a> that don't allow configuring the resulting size or require payments or logins.</li>
  </ul>
  
  <p>Therefore I'd love a Javascript-only solution. I used <a href="https://github.com/oliver-moran/jimp" rel="nofollow">Jimp</a> in another application, but it does not support ICO files. </p>
  
  <p>Any help is appreciated. Thanks!</p>