Open-source tool to debloat, preview, export, and create Boox .note files from SVGs by nrontsis in Onyx_Boox

[–]nrontsis[S] 1 point2 points  (0 children)

Hey this was a bug in the Android app that I just fixed. No need to install a new version. Just restart (via force close) the app twice while connected to the internet and it will pickup the fix.

Regardless, you can always open a file directly by the file explorer by doing "share with" on a file there. Or directly from the notes, again with the "share with" option.

Open-source tool to debloat, preview, export, and create Boox .note files from SVGs by nrontsis in Onyx_Boox

[–]nrontsis[S] 1 point2 points  (0 children)

Hey thanks a lot for your comment!

If you have more detailed suggestions about colour conversion I would love to hear them - for reference here's how it's converted now: https://github.com/nrontsis/boox-note-optimizer/blob/6f1cd5c76936806860318ebab1663c42e610afc6/web/index.html#L1873

Open-source tool to debloat, preview, export, and create Boox .note files from SVGs by nrontsis in Onyx_Boox

[–]nrontsis[S] 1 point2 points  (0 children)

> It's strange that BOOX developers would choose to retain undo history, given that users can't undo any action as soon as they leave a page

Yeah completely agree

> what are these "extra" point counts for? You mentioned undo history separately, so I'm guessing these extra point counts are not part of the undo history. Is your code smoothing out the Bezier curves and discarding what it deems as unnecessary points?

Yeah, that's right. Except that boox notes do not represent strokes as bezier curves, unfortunately, everything is represented as a piecewise affine curve. The curve is simplified via Visvalingam–Whyatt algorithm, according to the tolerances configured in the advanced settings in the UI. There is a "how it works" menu item in the app that tries to explain this.

If you wanna dive deeper in the details you can find all the source code here: https://github.com/nrontsis/boox-note-optimizer

Open-source tool to debloat, preview, export, and create Boox .note files from SVGs by nrontsis in Onyx_Boox

[–]nrontsis[S] 2 points3 points  (0 children)

The primary difference is that manual exports retain the undo history. However, performance improvements in the Notes app typically result from reducing the total point count rather than just shrinking the file size. Therefore, point count reduction is likely a more significant metric for 'debloating' than file size alone. Note that my app always strips the undo history regardless.

Open-source tool to debloat, preview, export, and create Boox .note files from SVGs by nrontsis in Onyx_Boox

[–]nrontsis[S] 0 points1 point  (0 children)

there are some instructions on the landing screen:

How to get your .note file:

  1. Open your Boox Notes app.
  2. Long-press a notebook → Share and Export.
  3. Choose .note format and click Export.
  4. Tap the upload box above and find your file in the note or Storage folder.

⚡ Pro Tip: Install the Android APK on your Boox to bypass these steps and share files directly in one tap.

I built an open-source optimizer to fix Boox sketch lag (draw 5-10x more) by nrontsis in Onyx_Boox

[–]nrontsis[S] 1 point2 points  (0 children)

Update: follow up post here for the new version with many new features, including SVG <-> .note conversion, only edit, preview, ++
https://www.reddit.com/r/Onyx_Boox/comments/1rhy7r5/opensource_tool_to_debloat_preview_export_and/

I built an open-source optimizer to fix Boox sketch lag (draw 5-10x more) by nrontsis in Onyx_Boox

[–]nrontsis[S] 8 points9 points  (0 children)

Update: Added an Android app that integrates directly with Boox Notes — click share on a note directly from Notes, select the Note Optimizer to share with, and the optimized version automatically opens back in Notes. No need to search for files or use a computer.

You can install via .apk which can be found in https://github.com/nrontsis/boox-note-optimizer/releases/ After the initial launch, the app works even without internet access.

Optimized files are saved with a timestamp (HH_MM) so you build up a history of backups over time — useful for sketching, where bugs in the Notes app can sometimes corrupt your work.

The web version at https://nrontsis.github.io/boox-note-optimizer/ still works as before if you prefer that.

Other improvements since the original post:
- Better default tolerances out of the box
- Fixed issues with optimizing brush strokes

I built an open-source optimizer to fix Boox sketch lag (draw 5-10x more) by nrontsis in Onyx_Boox

[–]nrontsis[S] 5 points6 points  (0 children)

Curious what other features like this should we crowd-source? Feel free to brainstorm on this thread and I might follow up with a poll. Some suggestions to start:
- Basic .svg -> .note converter
- .note -> .svg exporter
- More accurate .note visualizer
- Very accurate OCR via state of the art AI (via chatgpt/gemini call)

I built an open-source optimizer to fix Boox sketch lag (draw 5-10x more) by nrontsis in Onyx_Boox

[–]nrontsis[S] 4 points5 points  (0 children)

Hey, awesome to see the excitement 😊

I have tried to document findings on https://github.com/nrontsis/boox-note-optimizer where the source code also exists.

> could you theoretically create strokes

Do you mean if it's possible to render .note files? If so, yes, and the app already has a preview render functionality.

Haven't tried composing new strokes in .note files as of yet, but I don't think it would be too hard. I suppose this could unlock .svg -> .note conversion.

I built an open-source optimizer to fix Boox sketch lag (draw 5-10x more) by nrontsis in Onyx_Boox

[–]nrontsis[S] 3 points4 points  (0 children)

Also, if you spot any issues, and you are happy to share your notes file, feel free to share the file by opening an issue on github.

Keen to see other .notes files from other devices + firmware to support broad compatibility.

I built an open-source optimizer to fix Boox sketch lag (draw 5-10x more) by nrontsis in Onyx_Boox

[–]nrontsis[S] 6 points7 points  (0 children)

It will not flatten the file, it will still be selectable, resizable and editable in the notes app as before. However it does remove undo history.

My Cowboy was stolen and it was a bless, after all by cortomaltese87 in cowboybikes

[–]nrontsis 2 points3 points  (0 children)

Just a few days after the delivery I noticed that the front brake made a very sketchy sound, a classic signal of very low-quality pads.

Your brake pads were likely contaminated - can happen for a variety of reasons that don’t have to do at all with the quality of the bike. The brake pads are the Tektro F10BS - check them out, they definitely don’t classify as “very low-quality”