jmpinit / rm-dl-annotated

Export annotated PDFs from ReMarkable tablets
MIT License
83 stars 5 forks source link

Updating to new reMarkable annotations format #5

Closed fharper closed 4 years ago

fharper commented 5 years ago

4 should be fixed with this PR, but you need to use this version of rm2svg. ImageMagick is not optional anymore since I had to generate a blank pdf. On macOS Mojave, latest pdftk version will hang, so I suggest using pdftk_server-2.02-mac_osx-10.11-setup file instead.

Feel free to put this PR in a WIP state as I generated a letter size blank pdf, which I'm not sure will work well with other size documents. I also didn't test for resized pdf for lack of time right now... There is probably a better way to do what I wanted to achieve (not sure if reMarkable was generating a .lines file for pages that had no no annotations before, but it's not the case for the new one) by filling remaining pages with a blank one. I don't know much about pdfunite (I didn't find any options as it's the intended behaviour for --multistamp, but without that, the last annotations were repeated in all pages from the original pdf without annotations.

Evidlo commented 5 years ago

Any news on getting this merged?

jmpinit commented 4 years ago

Thank you for the pull request and apologies for not responding for a year. Inspired by your PR I've implemented support for the new annotations format and some other things.