Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > More E-Book Readers > iRex

Notices

Reply
 
Thread Tools Search this Thread
Old 01-04-2013, 06:20 PM   #1
andynaz
Member
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
Code:
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... :-)

ChangeLog

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, 784 views)
File Type: bz2 iRexDR1000Manager-0.7-src.tar.bz2 (4.14 MB, 771 views)

Last edited by andynaz; 12-29-2015 at 10:03 AM. Reason: new version: 0.7
andynaz is offline   Reply With Quote
Old 01-06-2013, 09:43 AM   #2
Mackx
Guru
Mackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to behold
 
Posts: 999
Karma: 19985
Join Date: Dec 2008
Location: Netherlands
Device: iRex DR1000S
Nice tool! I tried several (test-)files and they all seem to be converted correctly. I think that more people are waiting for this.


PS: I saw that the link to the src on your webpage is incorrect.

Last edited by Mackx; 01-06-2013 at 09:46 AM.
Mackx is offline   Reply With Quote
Advert
Old 01-07-2013, 04:26 AM   #3
andynaz
Member
andynaz doesn't litterandynaz doesn't litter
 
Posts: 12
Karma: 182
Join Date: Jul 2012
Device: iRex Iliad
Hi, thanks for your feedback!! :-)

I updated the web page (I missed a '-' in the link) and loaded the sources in the first post, so it'll be available in case my site will be down.

By now I'll wait for more test, and when I'll have a bit of time I'll try to improve it a little; I think it can be improved in some points:

- when creating the file, it should remove the '.pdf': by now from the file 'test.pdf' it creates the file 'test.pdf_NOTED.pdf'

- I need to test the case in which the file name is all written in capital letter (like 'UML.PDF' or 'UML.pdf'), because I think Linux does not recognize this case very well (it sees the file name with the wrong case, so it won't match the data in the metadata.db file)

- actually il loads all the scribbles from the db creating a list of Integer (Java objects); maybe loading a page at time and re-using the objects it can be more fast :-)

ps: have you tried also some DR800 file?
andynaz is offline   Reply With Quote
Old 01-07-2013, 07:27 AM   #4
Mackx
Guru
Mackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to behold
 
Posts: 999
Karma: 19985
Join Date: Dec 2008
Location: Netherlands
Device: iRex DR1000S
Quote:
Originally Posted by andynaz View Post
I updated the web page (I missed a '-' in the link) and loaded the sources in the first post, so it'll be available in case my site will be down.
Thanks
Quote:
Originally Posted by andynaz View Post
- when creating the file, it should remove the '.pdf': by now from the file 'test.pdf' it creates the file 'test.pdf_NOTED.pdf'
Then you also need to remove the annotations from the metadata.db file. Could you make it an option? I do not like programs that delete files :]
(and if we are already talking about changes/additions) I would also like an option to specify an output directory, that allows me to keep the originals on the SD card and have the merged files on PC.
Quote:
Originally Posted by andynaz View Post
ps: have you tried also some DR800 file?
The files I have (and have received form others) are all DR1000 (as far as I know) so i did not test it.
Mackx is offline   Reply With Quote
Old 01-08-2013, 05:00 AM   #5
andynaz
Member
andynaz doesn't litterandynaz doesn't litter
 
Posts: 12
Karma: 182
Join Date: Jul 2012
Device: iRex Iliad
Quote:
Originally Posted by Mackx View Post
Then you also need to remove the annotations from the metadata.db file. Could you make it an option? I do not like programs that delete files :]
? what do you mean exactly? I was only talking about the file name (I actually only read the db file) :-)


Quote:
Originally Posted by Mackx View Post
(and if we are already talking about changes/additions) I would also like an option to specify an output directory, that allows me to keep the originals on the SD card and have the merged files on PC.
I have some ideas on mind about additional features, the output directory will surely be one of them :-)
andynaz is offline   Reply With Quote
Advert
Old 01-08-2013, 07:04 AM   #6
Mackx
Guru
Mackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to behold
 
Posts: 999
Karma: 19985
Join Date: Dec 2008
Location: Netherlands
Device: iRex DR1000S
Quote:
Originally Posted by andynaz View Post
? what do you mean exactly? I was only talking about the file name (I actually only read the db file) :-)
Oops, I re-read your message and see my mistake...
Quote:
Originally Posted by andynaz View Post
I have some ideas on mind about additional features, the output directory will surely be one of them :-)
Mackx is offline   Reply With Quote
Old 01-16-2013, 07:04 PM   #7
andynaz
Member
andynaz doesn't litterandynaz doesn't litter
 
Posts: 12
Karma: 182
Join Date: Jul 2012
Device: iRex Iliad
Hi, Mackx (and all the others), I just updated the project (in the first post there are the binary and the source). It should use a little less memory and I added the option -o to specify the output file.
andynaz is offline   Reply With Quote
Old 01-18-2013, 04:06 AM   #8
Mackx
Guru
Mackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to behold
 
Posts: 999
Karma: 19985
Join Date: Dec 2008
Location: Netherlands
Device: iRex DR1000S
Thanks,

I will try it this weekend.
Mackx is offline   Reply With Quote
Old 02-24-2013, 01:28 PM   #9
andynaz
Member
andynaz doesn't litterandynaz doesn't litter
 
Posts: 12
Karma: 182
Join Date: Jul 2012
Device: iRex Iliad
New version: 0.3

Hi, I just uploaded the new version: now the program can merge also the notes.
andynaz is offline   Reply With Quote
Old 04-06-2013, 04:00 PM   #10
jsway
Junior Member
jsway began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Apr 2010
Device: dr1000s
I just tested it.

Even though I had hard time understanding to get through with these, I just got over this.

It works! Really thanks a lot! thumbsup:
jsway is offline   Reply With Quote
Old 04-10-2013, 06:20 PM   #11
andynaz
Member
andynaz doesn't litterandynaz doesn't litter
 
Posts: 12
Karma: 182
Join Date: Jul 2012
Device: iRex Iliad
Hi jsway,
thanks for your feedback.

I just released the new version: the performance have been improved, and now you can specify a color for the strokes.
andynaz is offline   Reply With Quote
Old 08-01-2013, 05:24 PM   #12
andynaz
Member
andynaz doesn't litterandynaz doesn't litter
 
Posts: 12
Karma: 182
Join Date: Jul 2012
Device: iRex Iliad
Hi to all.

I just released a new version (0.4.1): just a bugfix and a little additional option. :-)
andynaz is offline   Reply With Quote
Old 09-26-2013, 04:36 AM   #13
andynaz
Member
andynaz doesn't litterandynaz doesn't litter
 
Posts: 12
Karma: 182
Join Date: Jul 2012
Device: iRex Iliad
I just released a new version (0.5.1): now you have additional option. :-)

Last edited by andynaz; 09-26-2013 at 04:36 AM. Reason: wrong version
andynaz is offline   Reply With Quote
Old 11-07-2013, 05:57 AM   #14
andynaz
Member
andynaz doesn't litterandynaz doesn't litter
 
Posts: 12
Karma: 182
Join Date: Jul 2012
Device: iRex Iliad
I just released a new version (0.5.3): just little improvements... :-)
andynaz is offline   Reply With Quote
Old 12-29-2015, 10:04 AM   #15
andynaz
Member
andynaz doesn't litterandynaz doesn't litter
 
Posts: 12
Karma: 182
Join Date: Jul 2012
Device: iRex Iliad
Hi to everyone.

I just released a new version (0.7): more option for colors. :-)
andynaz is offline   Reply With Quote
Reply

Tags
java, merge, scribble


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
GoComics After Merger - New "Feeds" ListWith the ensuing merger of GoComics and Comic BRGriff Recipes 7 07-25-2012 06:23 PM
First useable version of the portable scribble merger released. thomega iRex 82 11-10-2010 04:29 AM
Iliad Java Scribble Merger curbarthedog iRex 0 03-16-2009 04:16 PM
New PDF scribble merger from iRex Adam B. iRex 1 11-28-2007 02:21 PM
Scribble merger kills bookmarks Scifier iRex 5 04-04-2007 05:59 PM


All times are GMT -4. The time now is 04:06 PM.


MobileRead.com is a privately owned, operated and funded community.