0.0.10 • Published 6 years ago
lines-parser v0.0.10
Lines Parser
an unofficial parser for .lines binary files for reMarkable paper tablet
currently only a basic renderer works but the output is usable
Installing
the package is available on npm, you can install either via npm: npm install lines-parser
or yarn: yarn add lines-parser
How to use
the following command will parse the file at linesFilePath and create a png for each page in the file in the directory specified by outputPath, the promise returned will resolve an object for each page
parse(linesFilePath, outputPath)
.then(result => {
for (const page of result.paths) {
console.log(page.path);
}
})
Todo
- page templates
- handling pressure for lines
- stroke texturing
- ...
Credits
thanks to @ax3l for the great article