imgtobase
v0.0.4
Published
creates base64 file from img and viceversa
Readme
#Converts image to base64 code to store the image into the database and converts the base64 code into image back again
#For example var require = require('./img2base'); var basecreate = require.ImgtoBase64('Zombatar_1.jpg', 'file'); #converts the image named Zombatar_1.jpg into a base64 code and stores it in a file named 'file'
#For example var require = require('./img2base'); var base64toimg = new Base64toImg('text', 'hello'); #converts the file named 'text' that contains the base64 code for an image/file and creates a image named 'hello' with base64 code
