05-14-2023, 03:44 PM | #16 | |
Grand Sorcerer
Posts: 6,496
Karma: 84420419
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Kindles
|
Quote:
If any other Scribe owner wants to share files from their .notebooks folder, either publicly or sent to me in private, it would help in my decoding how Scribe notebooks are structured with a goal of being able to convert them to a usable format without involving Amazon's export function. Last edited by jhowell; 05-14-2023 at 03:49 PM. |
|
05-14-2023, 04:07 PM | #17 |
Grand Sorcerer
Posts: 6,478
Karma: 26425959
Join Date: Apr 2009
Location: USA
Device: iPhone 15PM, Kindle Scribe, iPad mini 6, PocketBook InkPad Color 3
|
Sync of Notebooks between Scribes works as well as one can expect: elements added and deleted on each device (offline, for example) get merged once the changes sync up. Of course this will be a fairly unusual situation until notebook editing expands to other platforms (which I think is likely).
Last edited by tomsem; 05-14-2023 at 04:25 PM. |
Advert | |
|
05-14-2023, 05:24 PM | #18 | |
Grand Sorcerer
Posts: 6,478
Karma: 26425959
Join Date: Apr 2009
Location: USA
Device: iPhone 15PM, Kindle Scribe, iPad mini 6, PocketBook InkPad Color 3
|
Quote:
|
|
05-14-2023, 05:42 PM | #19 | |
Grand Sorcerer
Posts: 6,478
Karma: 26425959
Join Date: Apr 2009
Location: USA
Device: iPhone 15PM, Kindle Scribe, iPad mini 6, PocketBook InkPad Color 3
|
Quote:
I think it would be worth the effort to 'decode everything'. I assume to do this we need an example with all of the current entity types (brush, pen, highlight etc.). I'll try to do this. Once that's in place, I think it would be quite useful to be able to export to some standard vector format so that one could continue editing with some 3rd party tools. I assume the "DL" in "NMDL" expands to 'Description Language'. Is this some standard DL? Even if it is not, these could probably be mapped to one that is. And you could collect these NBK extracts in a SQLite database to feed a conversion toolchain. And same technique could be used to export pen annotations more generally. Going the other way (side loading notebooks created somewhere else) seems less useful, and more challenging technically. Last edited by tomsem; 05-14-2023 at 07:00 PM. |
|
05-14-2023, 06:20 PM | #20 | |
Grand Sorcerer
Posts: 6,478
Karma: 26425959
Join Date: Apr 2009
Location: USA
Device: iPhone 15PM, Kindle Scribe, iPad mini 6, PocketBook InkPad Color 3
|
Quote:
It seems Kindles think they are in London. Download something and it displays creation time that's in future with respect to local time (+8h for me). So maybe to restore previous version you need to change the modify time(s) (mtime) so it is greater than create time (ctime)? So it thinks you have an update? I'll try it. I also tried changing the folder guid to see if Scribe would at least open it. That alone is not enough, but maybe it is again issue with timestamp. It would be nice to have some way to have a 'local', non-cloud backup that would allow restore of a specific version, and if it would let you supply your own guid's you could effectively side load notebooks that would not be in cloud. But I suspect the guid has to be one associated with your account. Even if that's the case, if it's possible to execute scenario #2 by mucking with mtime, it might be useful for people with privacy concerns: you generate as many empty notebooks as you like (in the folders you want them to reside in), work with those with WiFi off, and if you need to go online just move them off kindle so they never sync to cloud, restore after going offline. A PITA but some automation could help with it. Last edited by tomsem; 05-14-2023 at 06:42 PM. |
|
Advert | |
|
05-14-2023, 06:52 PM | #21 | ||
Grand Sorcerer
Posts: 6,478
Karma: 26425959
Join Date: Apr 2009
Location: USA
Device: iPhone 15PM, Kindle Scribe, iPad mini 6, PocketBook InkPad Color 3
|
Quote:
Quote:
Last edited by tomsem; 05-14-2023 at 06:58 PM. |
||
05-15-2023, 09:37 AM | #22 | ||
Grand Sorcerer
Posts: 6,496
Karma: 84420419
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Kindles
|
Quote:
Quote:
Spoiler:
I have never worked on software for digitizing drawings so I am unfamiliar with the data structures and APIs typically used in that field. Perhaps someone familiar with drawing devices could suggest a documented data format that would be suitable for exporting Scribe drawings. I do know that some work has been done to reverse engineer the internal data formats used by reMarkable tablets. That might be worth looking into. I could not find anything relevant online about "NMDL". I am assuming that it is an acronym made up by Amazon. The phrase "note model" appears often in the Scribe firmware. That might be the source of "NM". Last edited by jhowell; 05-15-2023 at 09:48 AM. |
||
05-15-2023, 12:20 PM | #23 |
Grand Sorcerer
Posts: 6,478
Karma: 26425959
Join Date: Apr 2009
Location: USA
Device: iPhone 15PM, Kindle Scribe, iPad mini 6, PocketBook InkPad Color 3
|
'Note Model Description Language' works for me!
I created a very simple notebook with 5 strokes: Pen, Fountain pen, Marker, Pencil, and Highlight using the blank page template. Except for variations in stroke weight, pressure, tilt I think these are the only entities you can create currently with Pen. The templates must have some others (shapes? text? lines?). I'll pick a few of those and post examples of those next. I'm going to start reading up on SVG and Python libraries for that. It seems like the way to go as a conversion target. https://github.com/amazon-ion/ion-python (Python library for Amazon ion) And yes, interesting that NMDL is so low level. Last edited by tomsem; 05-15-2023 at 12:40 PM. |
05-15-2023, 01:21 PM | #24 | ||
Grand Sorcerer
Posts: 5,278
Karma: 98804578
Join Date: Apr 2011
Device: pb360
|
Quote:
Quote:
|
||
05-15-2023, 08:10 PM | #25 |
Grand Sorcerer
Posts: 6,478
Karma: 26425959
Join Date: Apr 2009
Location: USA
Device: iPhone 15PM, Kindle Scribe, iPad mini 6, PocketBook InkPad Color 3
|
I don't know how useful these will be, but these are empty notebooks based on a sampling of the templates.
|
05-18-2023, 08:10 PM | #26 | |
Grand Sorcerer
Posts: 6,496
Karma: 84420419
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Kindles
|
I have been examining the notebooks you uploaded and through trial and error have had some success at decoding the blobs that hold stroke data and converting them to SVG images. It is still a work in progress.
I am attaching a zipped SVG image along with a rasterized JPEG version of the first page of the 61233b77-330b-5427-4581-5f977d998bb5 notebook. At present the conversion includes only the hand drawn strokes, not the background template. It looks pretty good to me, but I don't have the original to compare it to. Quote:
At this point I am planning that the next release of the KFX Input plugin will be able to convert Scribe notebooks to EPUB format with each page containing an SVG image with a fairly accurate representation of the user's drawing along with the template background. |
|
05-18-2023, 10:43 PM | #27 |
Grand Sorcerer
Posts: 6,478
Karma: 26425959
Join Date: Apr 2009
Location: USA
Device: iPhone 15PM, Kindle Scribe, iPad mini 6, PocketBook InkPad Color 3
|
Very cool! And no, I don't know how to actually write music.
Let me know if I can help in some fashion. |
05-19-2023, 07:58 AM | #28 | |
Grand Sorcerer
Posts: 6,496
Karma: 84420419
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Kindles
|
Quote:
Also from you or any other Scribe owners more sample notebook files and the associated exported PDF equivalent would be helpful in testing my understanding of the Scribe's notebook format. Lastly I would like to understand how the Scribe stores annotations. Some sample annotation files from the .notebooks folder would be useful for that. |
|
05-19-2023, 04:33 PM | #29 |
Grand Sorcerer
Posts: 6,478
Karma: 26425959
Join Date: Apr 2009
Location: USA
Device: iPhone 15PM, Kindle Scribe, iPad mini 6, PocketBook InkPad Color 3
|
This is the PDF export for the Notebook of post #23.
As you will see, it just contains raster images: no objects or layers. To the extent we can convert the on-device notebooks (to PDF or FXL ePub), it would be an improvement, since we would be able to preserve more of the original properties, and presumably be able to have template and annotation on separate layers (something Amazon should be doing IMO, and maybe they will, some day). I"ll get some Pen annotation data for documents/books next (with export PDF). Last edited by tomsem; 05-19-2023 at 04:37 PM. |
05-19-2023, 05:48 PM | #30 |
Grand Sorcerer
Posts: 6,478
Karma: 26425959
Join Date: Apr 2009
Location: USA
Device: iPhone 15PM, Kindle Scribe, iPad mini 6, PocketBook InkPad Color 3
|
ebooks: .sdr and .documents folders (content is copy-protected)
kfx_document: public domain book .sdr, .documents folder, .kfx print_replica_document: documents folder, .sdr, .kfx Interestingly, Share of personal documents takes two forms: 1) from Notebook (notes and highlights), it Shares only the annotations (both text and Pen), and 2) using the Share icon exports the entire contents with annotations on top. Didn't notice this before. Print Replica documents currently do not allow text notes, so Notebook doesn't display any: it shows thumbnail of the annotated page with the Pen annotations. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kindle Scribe | jhowell | Amazon Kindle | 773 | Today 06:06 PM |
Kindle scribe-Stylus | HLS | Amazon Kindle | 6 | 05-03-2023 10:00 AM |
Kindle Scribe | Sonnenfee | Amazon Kindle | 0 | 01-04-2023 08:25 AM |
Kindle Scribe - DS | chrispe | Amazon Kindle | 11 | 12-26-2022 11:10 PM |
Amazon announces the Kindle Scribe - 10.2" Kindle with stylus support | Dazrin | News | 128 | 12-22-2022 02:16 PM |