-
Notifications
You must be signed in to change notification settings - Fork 82
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
Drawing with lines is split in hundreds of stroke images #51
Comments
Export of handwritten notes is not supported |
I already know that handwritten notes are not supported - but this awesome tool exported ca 30 drawings and writings correctly. You can choose in OneNote to create ink "as drawing" or "as handwriting" and drawings are flattened as an image. I exported my notes with 80 % with this tool and 20 % via Evernote Export (most drawings). I would close the bug, but I think maybe some investigation could help to make it to an "all-in-one"-tool. |
Hey @liquididea , indeed I have noticed that evernote is doing great with handwriting. I will investigate once I have free time. Thank for the detailed report. Maybe I will come back to you if I need some additional details. |
Well, I do have some additional details. Now, if I'm not mistaken, you're communicating with onenote using the windows interface before passing the data to word (the intermediary format is probably xml). From looking at the xml you can get out of onenote using the interface, I know that the strokes are encoded using the ISF (ink serialized format) binary format. And it's probably the case as well for the word format (hence the out of scope as deserializing everything with a custom implementation then reconstructing an image from individual strokes is quite a large endeavour, especially when you may not know how the binary file format works. Pandoc uses the fallback that's readable, that is every stroke is also stored as an image) Now, the spec for ISF is available, as well as the C# serializer/deserializer code source, see https://learn.microsoft.com/en-us/uwp/api/windows.ui.input.inking?view=winrt-26100 for the API, https://github.com/Doublonmousse/ink_serialized_format_converter/tree/main/ink_serialized_to_json for the use in C#, and https://source.dot.net/#PresentationCore/MS/Internal/Ink/InkSerializedFormat/InkSerializer.cs,127 for the source code (everything in the "ink" folder). I think there's restrictions on how you can access the API (it works inside of a UWP app, but I'm not sure you can call directly the serialize/deserialize method). Maybe, if the license permits it, we could use the original C# code to make this possible ? Now there's also times where inkml is used for storing drawing in office applications (that's one of the file format used for clipboard copy/paste at the very least). I don't know what evernote is using to do the conversion (if it still exists today) but chances that's using one out the two file format described. |
Describe the bug
I try to export my stylus drawings as flatten images and every stroke is saved
in multiple files and not one big one.
The ink is in "drawing", not "handwriting" mode
The export fails if I add vertical line to the file
Stroke.zip
To Reproduce
Expected behavior
Render also with lines
Logs
Versioning information:
The text was updated successfully, but these errors were encountered: