Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong stroke, and errors #11

Open
ajorg opened this issue May 16, 2024 · 0 comments
Open

Wrong stroke, and errors #11

ajorg opened this issue May 16, 2024 · 0 comments

Comments

@ajorg
Copy link

ajorg commented May 16, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant