1.0.1 • Published 6 years ago
image-to-zpl v1.0.1
Image to ZPL
Getting output from the command line
const ImageToZPL = require('./index');
ImageToZPL('./libs/home.png').then(zpl => {
console.log(zpl);
});
Saving output to a file.
const ImageToZPL = require('./index');
ImageToZPL('./libs/home.png', './libs/home.zpl');