10-12-2008, 09:05 AM | #1 |
Connoisseur
Posts: 56
Karma: 22
Join Date: Oct 2008
Location: Würzburg, Germany
Device: iRex DR1000S
|
DR100OS Scribble Format?
Apparently, the DR1000S stores the metadata no longer in XML files (like the iLiad did), but in SQLite (v3) databases. Could any of you early adaptors post a scribbled on PDF file and the corresponding metadata.db file (or other .db files, if they appear after scribbling)?
This would allow me to see if the new scribbles format can be reverse engineered easily. Working in a 100% Linux shop and needing to merge scribbles on PDFs, this is a crucial part of my purchasing decision ... Thanks in advance, -Thorsten Last edited by thomega; 10-12-2008 at 09:31 AM. Reason: spelling:( |
10-12-2008, 02:13 PM | #2 |
Fanatic
Posts: 597
Karma: 430
Join Date: Aug 2008
Location: Ellesmere Port, UK
Device: DR1000S Sony PRS505 iPad iPhone
|
Try this one. As I use a Mac any Windows software isn't much use to me anyway. I'd like to be able to merge the scribbles & pdfs too. There is only a scribble on the first page.
In order to upload, I have had to rename the metadata.db file to a .txt extension, just change it back to .db |
Advert | |
|
10-12-2008, 03:10 PM | #3 |
Connoisseur
Posts: 56
Karma: 22
Join Date: Oct 2008
Location: Würzburg, Germany
Device: iRex DR1000S
|
Thanks :!
That's consistent with the table annotations in metadata.db (one has to lookup the filename via an index into file_metadata though). The scribble itself is encoded as 4444 byte of binary data , which is mostly structured in 12byte records. Why would iRex use this obfuscated approach instead of a table in the datebase ? Could you describe the scribble (or do you have a photo), so that I can test ideas? |
10-12-2008, 03:56 PM | #4 |
Fanatic
Posts: 597
Karma: 430
Join Date: Aug 2008
Location: Ellesmere Port, UK
Device: DR1000S Sony PRS505 iPad iPhone
|
The scribble is just a handwritten script that says "This is a test". Of course I forgot you can't read the scribble on the pdf.
Here's the photo |
10-12-2008, 09:15 PM | #5 |
Connoisseur
Posts: 56
Karma: 22
Join Date: Oct 2008
Location: Würzburg, Germany
Device: iRex DR1000S
|
And here's the decoded scribble: This is of course still very far from a usable program, because I need to figure out how zoom, rotation etc. are encoded. Also I need to reaquaint myself with java if I want to use the iText library.
Now would be a good time to buy a unit. Unfortunately, the german distributor has sold his copies and I have to wait |
Advert | |
|
10-12-2008, 10:41 PM | #6 |
Grumpy Old Man
Posts: 267
Karma: 30194
Join Date: Jul 2006
Location: L.A., Euro ex-pat
Device: Kobo, Nook Classic,Color,ST/Glow, iRex DR1000, Sony 505, REB1100&1200
|
Well, your are getting ahead pretty nicely. You may even beat iRex
I have included a picture of a sketch I made, and the resulting "merged" PDF from the iRex PC application... judge for yourself. Anybody had better luck? I have also included a zipped folder with the default MeetingNotes.pdf, the 1024x1280 Blankpage.pdf I made and properly "templated" (the one thing that actually works in the PC app) and BlankPage 001.pdf, which contains 5 more or less vertical and 5 horizontal lines, one each for every pen size. (plus the corresponding metadata.db) Maybe that will still help in the decoding. I deleted the .db file just prior to doing the test, so this one should be spot on. I lost the .db with the sketch when I was playing around with files. Definetely, the drawing contained in the metadata will be applied to simply any PDF with the corresponding filename, even if the content has changed. |
10-13-2008, 06:23 AM | #7 |
Fanatic
Posts: 597
Karma: 430
Join Date: Aug 2008
Location: Ellesmere Port, UK
Device: DR1000S Sony PRS505 iPad iPhone
|
Allovertheglobe, can you tell me how you managed to merge the pdf & scribble. That functionality doesn't appear to work for me. Although you can see the menu function of the irex companion software, it is inaccessable in the irex companiuon software as delivered. Do I have to download anything else?
It's a pity you cannot merge in the DR1000s itself. |
10-13-2008, 08:02 AM | #8 | |
Addict
Posts: 353
Karma: 92
Join Date: Sep 2007
Device: DR1000S, Nook ST (rooted), Kobo Aura one (ksm)
|
Quote:
But the pdf is awful. I hope they correct this very fast. Gogolo |
|
10-13-2008, 01:39 PM | #9 | |
Grumpy Old Man
Posts: 267
Karma: 30194
Join Date: Jul 2006
Location: L.A., Euro ex-pat
Device: Kobo, Nook Classic,Color,ST/Glow, iRex DR1000, Sony 505, REB1100&1200
|
Quote:
I just selected the pdf in question, the green "Merge" icon became active, and I clicked it. But it might as well not have worked considering the result... |
|
10-13-2008, 02:20 PM | #10 |
Fanatic
Posts: 597
Karma: 430
Join Date: Aug 2008
Location: Ellesmere Port, UK
Device: DR1000S Sony PRS505 iPad iPhone
|
Curious, I downloaded yet another updated version last night. Just as well I keep checking their website as their inbox doesn't work. I still cannot get the merge to operate.
Was that done in the writepad though? Maybe the merge only works on the writepads & not other pdfs? I'll have to try again tomorrow when I've got access to a PC. |
10-13-2008, 02:47 PM | #11 | |
Grumpy Old Man
Posts: 267
Karma: 30194
Join Date: Jul 2006
Location: L.A., Euro ex-pat
Device: Kobo, Nook Classic,Color,ST/Glow, iRex DR1000, Sony 505, REB1100&1200
|
Quote:
I just tried it now with some other PDF document, and it still "works". |
|
10-13-2008, 03:47 PM | #12 | |
Window shopper...
Posts: 23
Karma: 188
Join Date: Oct 2008
Location: Chicago, IL, USA
Device: Interested in the iRex Digital Reader
|
Quote:
Still, thanks for the sample sketch. |
|
10-14-2008, 06:51 AM | #13 |
Fanatic
Posts: 597
Karma: 430
Join Date: Aug 2008
Location: Ellesmere Port, UK
Device: DR1000S Sony PRS505 iPad iPhone
|
Well I'm a frustrated little scribbler. I cannot get any of 3 Windows XP machines, nor a Mac running parallels to merge my scribbles into any pdf document. The function is just "greyed out" I can create templates.
OH and the DR1000s draws the line at opening a 36Mb pdf, it just decided enough was enough. Shame. up to 25Mb was okay. Howard |
10-14-2008, 07:26 PM | #14 |
Grumpy Old Man
Posts: 267
Karma: 30194
Join Date: Jul 2006
Location: L.A., Euro ex-pat
Device: Kobo, Nook Classic,Color,ST/Glow, iRex DR1000, Sony 505, REB1100&1200
|
Upon further investigation:
- The Merge only works for PDF files for now, not images. The reader supports it, even templating, but not the PC Companion. - The resulting merged PDF seems to have a scaling issue, which may explain the thick lines. The PDF is way too big in any other PDF viewer (the scribble too small relatively speaking) BUT back on the reader it looks the right size (except for the super thick line) It seems the scribble is stored as coordinates on the metadata.db, and the PC companion replaces every straight line with a black rectangle of the same length but a fixed width, then layers that on top inside the PDF file (which may explain why that is not possible with image files which do not normally support layers (or vectors)) |
10-14-2008, 08:32 PM | #15 | |||
Connoisseur
Posts: 56
Karma: 22
Join Date: Oct 2008
Location: Würzburg, Germany
Device: iRex DR1000S
|
Quote:
Quote:
Quote:
There are some more bytes that I could not interpret yet (one of them must be the color and there should also be zoom, offset and rotation information, but there's more). I would have to purchase a reader in order to experiment with the settings to decode more of them. Unfortunately, the german distributor is currently sold out. Last edited by thomega; 10-14-2008 at 08:33 PM. Reason: spelling:( |
|||
Tags |
dr1000s, metadata, scribbles, sqlite |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
New note/scribble templates | DrBibber | iRex | 10 | 04-17-2009 08:56 AM |
Scribble Companion Software | pthwaite | iRex | 3 | 12-03-2008 07:32 PM |
Scribble Database? | Gogolo | iRex | 1 | 10-20-2008 04:05 PM |
iLiad Scribble | 87325is | iRex Developer's Corner | 1 | 11-30-2006 02:44 AM |
Scribble on non-PDF? | nekokami | iRex | 3 | 11-13-2006 12:10 PM |