EtienneDesticourt / Remarkable-SVG-Tools

SVG Exporter and Importer for the remarkable tablet
4 stars 0 forks source link

Importer? #1

Open artelse opened 4 years ago

artelse commented 4 years ago

Hi, was looking around on github to find python code to do svg2rm conversion. You've done great work so far on the exporter, are you working on an importer? Thanks!

EtienneDesticourt commented 4 years ago

Hey,

Thanks, here's the uncleaned code for the importer: https://gist.github.com/EtienneDesticourt/212043a72205fc90ee9a817413fcd032#file-svg-importer

Don't know if it's up to date for the latest version, I haven't been maintaining it. I wanted to import images but then you have to vectorize them to fit their format and it's a pain, so instead I'm working on patching their xochitl binary to change the way the rm format works so that it can store jpegs.

artelse commented 4 years ago

Hi, thanks. I am interested in svg conversion instead of imagery data. Nonetheless your code will certainly be helpful. The simple idea is to create a notebook with basic shapes that can be copied to another notebook/page. This because rM doesn't have shape primitives build in or vector drawing at all. Patching xochitl would be great, so those shapes can be in a submenu. Can you point me in directions on how to create patches? The rM community is in need of a more generic patching/ code injection mechanism like there exist for other platforms. But, I don't have the expertise to do this.