Notes that were created on a Supernote in the "horizontal" orientation appear to be parsed incorrectly by the plugin. Recognized text appears fine, but the image of the note looks corrupted.
I'm attaching a test .note file here (as .zip file so that Github will accept it):
horizontal.note.zip
Here is the PNG export of this note from the Supernote, to show what it is supposed to look like:
Here is how it looks in Obsidian:
It's interesting that the image is messed up horizontally, but the vertical relationship of the things on the page is maintained. It seems like the 1872x1404px data of the horizontal note is being shown in the 1404x1872px resolution of a vertical note, so the pixels overflow across rows.
The image also still looks corrupted after using the Obsidian plugin to export to PNG.
I'm guessing this might be an issue in the underlying supernote-typescript library? Maybe there's some flag in the .note file format or something that identifies when a note is supposed to be horizontal...
Steps to create a new .note file to reproduce this issue:
On the Supernote, open the "Create New Note" window
Either "Standard" or "Real-Time Recognition" types will reproduce this issue.
Under "Templates," select "Horizontal"
Create the .note, write in it, and sync to Obsidian vault as normal.
Notes that were created on a Supernote in the "horizontal" orientation appear to be parsed incorrectly by the plugin. Recognized text appears fine, but the image of the note looks corrupted.
I'm attaching a test .note file here (as .zip file so that Github will accept it): horizontal.note.zip
Here is the PNG export of this note from the Supernote, to show what it is supposed to look like:
Here is how it looks in Obsidian:
It's interesting that the image is messed up horizontally, but the vertical relationship of the things on the page is maintained. It seems like the 1872x1404px data of the horizontal note is being shown in the 1404x1872px resolution of a vertical note, so the pixels overflow across rows.
The image also still looks corrupted after using the Obsidian plugin to export to PNG.
I'm guessing this might be an issue in the underlying supernote-typescript library? Maybe there's some flag in the .note file format or something that identifies when a note is supposed to be horizontal...
Steps to create a new .note file to reproduce this issue: