View Single Post
Old 01-04-2013, 05:20 PM   #1
andynaz doesn't litterandynaz doesn't litter
Posts: 12
Karma: 182
Join Date: Jul 2012
Device: iRex Iliad
DR1000 Scribble and Note Merger (in Java)

Hi to all, I'm working on a small project: a java merger for the scribbles taken with the iRex DR1000 (firmware 2).

Attached you can find the last version available (binaries and sources); for more info and all the previous versions, this is the official page.

If someone would like to use/try it, any feedback will be appreciate, also to improve it.

Please note: I tryed this program only with my scribbles, taken with my DR1000, and with one note taken with the DR800 (this one), and it seems to be OK.

To launch the program just run
java -jar iRexDR1000Merger-version.jar input_file
in a terminal. This will create a new PDF file in the current directory.
If you want more options, read the documentation in the official page (or ask). :-)

Hi to all (I don't write much here, but I read a lot!!) :-)

Any observations is appreciated... :-)


Update v0.3: new version 0.3 let you merge PDF files, as before, and also the notes (taken with the built-in notepad). The defult PDF output file is now produced in the current directory.

Also the program, when cannot find the file in the database, ask the user to choose one (it lists all the files with scribbles in the database files). This is because if the file name is an all-uppercases-letters name (as "UML.pdf") the DR1000 store the file as an all-lowercase-letters (as "uml.pdf"), so the Java cannot match the data; I don't know if there are other cases, but if this is the only one, I'm thinking of modifing the program to just ignore the case at all (also because the FAT filesystem does not allow to have 2 files in the same folder with names that differ only for the cases of the letters). I have just to see if the DR1000 can use SD with filesystem different from FAT.

Update v0.4: new version 0.4 brings the possibility to specify a color with the -C option.
Also, the program is now more efficient (on my laptop, I passed from 33 s to 4 s on the same file).

Update v0.4.1: small changes and a little bugfix.
Color can be specified also with the -Dandynaz.defalutColor=color_code System Property, so that it can be used as an "installed program with defalut options" (I created an alias in my Linux box with defalut color RED).
Also, the program stops if input and output file in PDF merging are the same (I also re-introduced the suffix "__NOTED" for merged file name).

Update v0.5.1: I made some changes, like the option for the input file (now is -i) and I made the jar more as a real library (can be used for experiments for the extraction of the scribbles data).
I also add a way to specify default options (to create a personalized command to launch the program) and an action to create PNG files from notes.
And I changed the project name (iRex DR1000 Manager), as the merging is no more the only job!! :-)

Update v0.5.2: I added an option requested by Mackx: now in the parameter (in the config file or in the ) you can specify the defalut target directory where to save the files.
In the next version I'll clean up the code, as it is becoming a little confusing; for that reason, if you test the application and find some error don't worry (and let me know ).
As soon as possible I'll update the official page with the detailed changelog.

Update v0.5.3: I changed a little the logic (for future improvements); the main change is that now the -o option can specify a folder

Update v0.7: I added support for different color (one per stroke width), background color (for PNGs) and trasparent color. I also added some other options
Attached Files
File Type: bz2 iRexDR1000Manager-0.7.tar.bz2 (4.18 MB, 215 views)
File Type: bz2 iRexDR1000Manager-0.7-src.tar.bz2 (4.14 MB, 199 views)

Last edited by andynaz; 12-29-2015 at 09:03 AM. Reason: new version: 0.7
andynaz is offline   Reply With Quote