JavaScript Image Manipulation Program adapted to Gulp