Skip to content

Wrong stroke, and errors #11

@ajorg

Description

@ajorg

I've been using rmc and an rm2svg.py to detect corruption in my pages and for this purpose it actually works great. But along the way I noticed some non-fatal errors in rmc and thought I'd report at least one, with all the data you'd need to work out what's wrong.

These are the errors I get for this file:

WARNING:rmscene.tagged_block_reader:<class 'rmscene.tagged_block_reader.MainBlockInfo'> starting at 84, length 7, only read 5
WARNING:rmscene.tagged_block_reader:<class 'rmscene.tagged_block_reader.MainBlockInfo'> starting at 99, length 25, only read 20
ERROR:rmscene.scene_stream:Unknown block type 13. Skipping 11 bytes.

This is the file I'm trying to convert:
cb5d3560-b453-4d8c-8d2c-811c820f4b39.rm.gz

This is the converted file, which looks mostly right, but has the wrong stroke width:
cb5d3560-b453-4d8c-8d2c-811c820f4b39.rm.svg

And for good measure, this is the svg as converted by reMarkable:
Notebook 21 - page 3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions