Convert all the image files(including sub folders) to base64 code prefixed with corresponding "data:image/XXX;base64," head
The source file is written in CoffeeScript, and there is also a compiled JavaScript version
Download the js version getBase64.js and put it under the folder where your image files are
And then enter the command line and go to the same folder above
Run the command:
node getBase64.js
And you will get the corresponding txt output files