PNG to data URL
Converts PNG Images to a data URL.
Usage Commandline
img2url {PATH to Image} {PATH to Output File}
The Path to the Output File is optional, when you don´t set it the Path of the Image File was used.
Code Usage
const IMG2URL = require('img2url');let cnv = new IMG2URL(); // do it Syncroncnv.getUrlSync('/myimage.png'); // do it Asyncroncnv.getUrl('/myimage.png', function (err, data) { // do something with the data...});