lines-parser
v0.0.10
Published
unofficial parser for .lines files for reMarkable paper tablet
Downloads
7
Maintainers
Readme
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