alxnbl / onenote-md-exporter

ConsoleApp to export OneNote notebooks to Markdown formats
GNU General Public License v3.0
896 stars 74 forks source link

Drawing with lines is split in hundreds of stroke images #51

Open 4security opened 2 years ago

4security commented 2 years ago

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

  1. Open the file, unzip and import in OneNote
  2. Ensure that the drawing is "drawing-ink-mode"
  3. Open the .exe
  4. Select the notebook
  5. Export as MD
  6. Look in the resource folder and you see the splitted files:

grafik

  1. Remove the line
  2. Do steps 2 to 5 again

Expected behavior Render also with lines

Logs


Please choose export format: 
[19:30:44 INF] [1] Markdown
[19:30:44 INF] [2] Joplin Raw Folder
[19:30:46 INF] 
[19:30:46 INF] Open advance settings editor ?
[yes] or [Enter] to continue with current settings
[19:30:47 INF] 
***************************************
[19:30:47 INF] Start exporting notebook: Semester 7
[19:30:47 INF] ***************************************
[19:30:47 INF] --> Found 2 sections

[19:30:47 INF] Start processing section (1/2) :  Semester 7\Neuer Abschnitt 1\Neuer Abschnitt 1
...
[19:30:49 INF]    Page 2/2 : MS 1 Organisation

Versioning information:

Tlich commented 2 years ago

Export of handwritten notes is not supported

4security commented 2 years ago

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.

alxnbl commented 2 years ago

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.