rschroll / rmrl

Render reMarkable documents to PDF
GNU General Public License v3.0
119 stars 21 forks source link

Render only annotated PDF pages #3

Closed f3fora closed 3 years ago

f3fora commented 3 years ago

Remarkable cannot add white pages or delete useless pages from a PDF.
As workaround, I usually add a white page after each document page and then upload this document on the tablet, so I can read and annotate the document and add comment on white pages. However several pages aren't use and I do not really care about them.

Exporting only the annotated pages will be a great feature. This features is already present, for example, in rmapi, but there's no great open source PDF tool in go, so the render is bad.

rschroll commented 3 years ago

Seems reasonable to me. We already have a list of changed pages, so it wouldn't be hard to restrict the rendering to just those pages: https://github.com/rschroll/rmrl/blob/fac76e32affa6297996bf86268082d7a782de6b7/rmrl/render.py#L74

f3fora commented 3 years ago

Thanks.