async.doWhilst(
      function (callback) {
        i ++;
        process(images[i-1], callback);
      },