Welcome to the official page of the "iRex DR1000 Manager" project. Formerly known as "iRex DR1000 Merger", the aim of this project was to merge the scribbles taken with the iRex DR1000 with firmware 2 on a PDF or with the built-in notepad in a PDF file; now the program can manage the scribbles in a more complex way.
My intent was also to group all the knowledge I can find on the topic, to give all the people an as most rich as possible documentation and to create a little Java library, so that can be re-used by others. :-)
The program is written in Java; I took inspiration by Bert's program, which does the same with the scribbles taken with the iRex Iliad. I did it because I had problems with all the other solutions I found in the Mobile Read forum, such as the python script, OCAML and the .NET programs: the only one that I made to work was the .NET one, but it uses incorrect values for the zoom of the strokes taken with the zoom.
Like the merger by Bert, also this program uses the iText library (version 2.1.17, previous versions used a 1.4.8 lib I found on internet and recompiled) to merge the scribbles; to access the scribbles in the metadata.db
file I used the sqlite-jdbc library (version 3.7.2).
I also thanks Mackx, for having posted a great explanation on how the binary blob has to be interpreted.
I also re-designed this image to better illustrate the coordinate systems used by iText and iPDF (can also be found in the documentation):
iText and iPDF coordinates systems (click to enlarge)
The current version of the program can merge of the scribbles, format them in a text-format, creates a PDF from the notes and creates PNG images from the scribbles; it is no more a prototype but a real program (I menaged to correctly merge all my PDF and notes with their scribbles). It can also manage the color of the strokes in the result.
In next releases I hope to include other functionalities, like backup of data (which can also be made manually copying the metadata.db
file) or conversion of scribbles Iliad ⇆ DR1000.
in a shell/terminal/dos prompt;java -jar iRexDR1000Merger[-version].jar path_to_file
path_to_file
is the path to the target file (PDF or note file); in case of PDF file the program looks for the metadata.db
file in the same forlder. The program will create a new PDF file in the current directory.+ option "-l database_file" + option "-v" * update libs: iText-2.1.17 andyLib-0.9.2 * update project: andyProject-0.7 ! in some cases the annotated PDF was produced without the extesion Color: + background color (for PNGs) + different color for different strokes width + trasparent color
* used andyProject-0.6 and andyLib-0.9 + option -v for version + option -l to view the list of scribbled files + method #Document.mergeScribble() with the shared logic for merging ! bug: if output file for a note was not specified there was an error + method ScribbleMgr.printFiles * query in method ScribbleMgr.getScribbledFiles
To view the changelog of the previous versions click here.
In this page you can find the full documentation of the project.
As my first "real" project, I decided to release it under the GPLv3 licence. A copy of the licence is included in the compiled and source archives. Inside the archives there are the notice also for the libraries used by this project.