Code which allows importing and manipulating and re-saving of images on the client side.