1. 12
  1.  

  2. 4

    for an html rundown of a few different pixel scaling algorithms: http://www.datagenetics.com/blog/december32013/index.html