View Single Post
Old 05-21-2023, 04:23 PM   #34
tomsem
Grand Sorcerer
tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.
 
Posts: 6,959
Karma: 27060153
Join Date: Apr 2009
Location: USA
Device: iPhone 15PM, Kindle Scribe, iPad mini 6, PocketBook InkPad Color 3
Quote:
Originally Posted by jhowell View Post
By examining your samples I was able to determine how sticky note and full page annotations are handled.

As previously determined each book with those types of annotation has an associated notebook. For page annotations the notebook pages are full screen sized. For sticky notes the notebook pages are smaller. Each notebook page (aka section in KFX terminology) is identified by a unique section id string, such as "cJ6mymITFQPGtCVEx3QRvnA0".

The .yjr file in the .sdr folder associated with the book includes annotation information. Each annotation contains a reference to a start and end position in the book where the annotation applies. For regular annotations there is associated text or a highlight color. For Scribe annotations there is instead a reference to the section id of the notebook page containing the annotation image.

In some of the samples you provided the .sdr folder also has a file with the extension ".yjr.bad_file" containing a truncated version of the .yjr file. This is possibly the result of a bug in the Scribe firmware.



I believe that my handling of the pencil brush type is good enough for now. If I revisit it I will take a look at that SVG for some ideas on how to do it better.

In about a week I plan to release a version of the KFX Input plugin that can convert Scribe notebooks to EPUBs containing SVG images. I just have a few more things to wrap up.
Nice work!

A couple of questions:

- is the Notebook title stored in notebook and decodable? (I'm seeing kindle_title_metadata in there but the properties are encoded and straight uudecode didn't work for me)

- have you worked out how to render templates?

Looking forward to the update.
tomsem is offline   Reply With Quote