sheetjs/misc/coarsify.js
SheetJS 8658054872 BIFF3/4 write support
- more precise support for unknown BIFF type (see #2390)
- `format_cell` render error strings
2021-09-26 18:51:19 -04:00

10 lines
231 B
JavaScript

/* based on the `coarse` project README */
const fs = require('fs');
const coarse = require('coarse');
const svg = fs.readFileSync(process.argv[2]);
const roughened = coarse(svg);
fs.writeFileSync(process.argv[3], roughened);