Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 04-19-2010, 03:22 PM   #31
Mr. X
Connoisseur
Mr. X is on a distinguished road
 
Posts: 68
Karma: 64
Join Date: Mar 2010
Location: Philadelphia
Device: iRex DR800SG
Here's a sample pdf from the workflow my papers go through... pdfinfo says it's 1.4 which pdfsharp's FAQ says is fully supported. Not sure which is lying, but for your debugging here you go.
Attached Files
File Type: zip xelatex_test.zip (49.6 KB, 166 views)
Mr. X is offline   Reply With Quote
Old 04-21-2010, 12:11 AM   #32
garywitscher
Enthusiast
garywitscher began at the beginning.
 
Posts: 40
Karma: 10
Join Date: Apr 2010
Device: DR800SG
RE: Convert Irex Notes of new firmware 2.0 BETA

Quote:
Originally Posted by GodzillaNL View Post
I have created a little application which can convert the .note version to XPS or PDF documents so they can be read on a desktop computer.

The .NET framework 3.5 SP1 is required to run, just extract the RAR file and run. To associate the application with all .note files, you must run it as administrator once.
Looking at the archive I see ".exe" files, which means this is a windows only solution? I hope not ... as I run linux ;-). Seeing as how the DR800 runs linux is there any way to do the same thing on a linux platform?
garywitscher is offline   Reply With Quote
Old 04-21-2010, 01:27 AM   #33
GodzillaNL
Member
GodzillaNL doesn't litterGodzillaNL doesn't litter
 
Posts: 18
Karma: 100
Join Date: Apr 2010
Location: The Netherlands
Device: iRex DR1000S
Quote:
Originally Posted by garywitscher View Post
Looking at the archive I see ".exe" files, which means this is a windows only solution? I hope not ... as I run linux ;-). Seeing as how the DR800 runs linux is there any way to do the same thing on a linux platform?
Maybe, I hope it will run with Mono on Linux (sometime). Someone with a Mac computer is/was testing this.
GodzillaNL is offline   Reply With Quote
Old 06-20-2010, 07:10 PM   #34
CoolDragon
Addict
CoolDragon doesn't litterCoolDragon doesn't litter
 
Posts: 232
Karma: 122
Join Date: Feb 2010
Device: none
Quote:
Currently I am working on a feature to add the scribbles made on the iRex on PDF files to PDF files, so you can save the PDF with the scribbles on top of it as PDF. And maybe a feature to change the note pages itself. Moving pages in the note deleting pages etc. And of course the option to select the paper size and type . Everything is now A4 paper.
What's the progress on this?
CoolDragon is offline   Reply With Quote
Old 06-21-2010, 03:07 AM   #35
GodzillaNL
Member
GodzillaNL doesn't litterGodzillaNL doesn't litter
 
Posts: 18
Karma: 100
Join Date: Apr 2010
Location: The Netherlands
Device: iRex DR1000S
Quote:
Originally Posted by CoolDragon View Post
What's the progress on this?
I didn't had a lot of time to work on this project. There isn't much changed. The biggest problem is that I haven't found a free solution to add the scribbles to the PDF files created in later Acrobat versions like 7+. Opening older versions is working.

I am waiting for the final release of firmware 2.0 to finish the latest things for the note scribbles, the current version is working OK.

In the summertime I have some free-time, hopefully I can use some of it to finish this project.
GodzillaNL is offline   Reply With Quote
Old 06-21-2010, 04:26 AM   #36
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: 998
Karma: 19985
Join Date: Dec 2008
Location: Netherlands
Device: iRex DR1000S
Hi GodzillaNL,

Xournal also has some code to merge scribbles with PDF, but also seems to have problems with newer pdf formats. Can you share some code or pointers to open source code, it would be good to align the code between the merge code in the PC-tool and Xournal. I think both tools have their own value.

Marcel.
Mackx is offline   Reply With Quote
Old 06-21-2010, 12:40 PM   #37
CoolDragon
Addict
CoolDragon doesn't litterCoolDragon doesn't litter
 
Posts: 232
Karma: 122
Join Date: Feb 2010
Device: none
Excuse me, how can I "merge" the scribbles with PDF? I can rename metadata.db to metadata.note and convert it to PDF and it looks good, but where is the option/user interface to merge the scribble with PDF?
CoolDragon is offline   Reply With Quote
Old 06-21-2010, 01:07 PM   #38
CoolDragon
Addict
CoolDragon doesn't litterCoolDragon doesn't litter
 
Posts: 232
Karma: 122
Join Date: Feb 2010
Device: none
OK, I saw the scribbles/annotation in the converted PDF file, it's just in the different page and seems to have a different zoom factor. I don't know what caused this, since this is a "Letter" sized PDF, and I am using DR1000's uds on my DR800.

Anyway, I have attached the PDF with metadata.db, maybe you can have a look at it when you have time.

By the way, GodzillaNL, do you have any plan to open source your code?
Attached Files
File Type: zip mergetest.zip (107.0 KB, 130 views)
CoolDragon is offline   Reply With Quote
Old 06-21-2010, 02:45 PM   #39
CoolDragon
Addict
CoolDragon doesn't litterCoolDragon doesn't litter
 
Posts: 232
Karma: 122
Join Date: Feb 2010
Device: none
Ah, IREX has confirmed that the position and scale information in Beta are screwed up, so they fixed it in the RC releases. And looks like you have to make your changes accordingly.
CoolDragon is offline   Reply With Quote
Old 06-21-2010, 05:16 PM   #40
CoolDragon
Addict
CoolDragon doesn't litterCoolDragon doesn't litter
 
Posts: 232
Karma: 122
Join Date: Feb 2010
Device: none
The latest build of Xjournal does a good job of merging my annotations. But I still prefer to do this on the PC...
CoolDragon is offline   Reply With Quote
Old 06-22-2010, 02:48 AM   #41
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: 998
Karma: 19985
Join Date: Dec 2008
Location: Netherlands
Device: iRex DR1000S
Disadvantages of Xournal are that only up-to version 1.4 of the PDF format is supported for merging (for rendering it uses poppler) and that the merge code, reads the complete pdf file into, the limited, memory of the DR before merging.
Xournal code (see xo_print.c) could be used as a basis for a PC-based program.
Mackx is offline   Reply With Quote
Old 06-22-2010, 12:55 PM   #42
CoolDragon
Addict
CoolDragon doesn't litterCoolDragon doesn't litter
 
Posts: 232
Karma: 122
Join Date: Feb 2010
Device: none
Hi Mackx, where is the source code for your port of Xournal?
CoolDragon is offline   Reply With Quote
Old 06-22-2010, 01:53 PM   #43
GodzillaNL
Member
GodzillaNL doesn't litterGodzillaNL doesn't litter
 
Posts: 18
Karma: 100
Join Date: Apr 2010
Location: The Netherlands
Device: iRex DR1000S
Quote:
Originally Posted by CoolDragon View Post
...

By the way, GodzillaNL, do you have any plan to open source your code?
I think so, I just don't have a lot of time, so finishing the project will take some time. Hopefully someone will take over the project and finishes the merging and maybe adds some additional features.

If a person is willing to take over, the project will be open source: D
GodzillaNL is offline   Reply With Quote
Old 06-22-2010, 04:12 PM   #44
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: 998
Karma: 19985
Join Date: Dec 2008
Location: Netherlands
Device: iRex DR1000S
Quote:
Originally Posted by CoolDragon View Post
Hi Mackx, where is the source code for your port of Xournal?
The last sources that I posted to the forum are here. The difference with the last releases for R2.0 is not that big. If you want I can also send the sources with the next update that I am going to make?
I looked a little deeper into the xournal code for merging annotations. It consists of two part, one to import scribbles from metadata.db files (the part I added) and one to export xournal files, including background pdf as a new pdf file (which already existed in the original code).
I am now not sure if the approach that was choosen for xournal is also a good appraoch for a PC app. Xournal creates a new pdf file and adds to each page the original page as a bitmap (rendered with poppler) and all objects that are created with xournal (including the imported annotations). A PC app should probably keep as much of the structure of the old file and only add extra parts for the annotations. (I.e. create extra objects for the annotations and add them to the /Contents of the original doc. )

B.t.w. the pdf format documentation of Adobe is really good if you want to learn the details of the format. I am looking into it now to see if I can support some of the pdf 1.5 features in the exporting code of xournal, currently only pdf 1.4 is handled correctly as far as I can see.
Mackx is offline   Reply With Quote
Old 06-22-2010, 04:26 PM   #45
CoolDragon
Addict
CoolDragon doesn't litterCoolDragon doesn't litter
 
Posts: 232
Karma: 122
Join Date: Feb 2010
Device: none
What I am thinking for PDF annotation merging is that if there are PDF library out there that allow you to annotate the PDF file, so that you can parse the BLOB, and apply that via the SDK.

Quite a few PDF readers have this "pencil markup" feature, and I these markups seems to be like an additional "layer" on top of the original PDF file.

Well, it looks like GodzillaNL's tools is using this method, using PDFsharp.

Last edited by CoolDragon; 06-22-2010 at 07:53 PM.
CoolDragon is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
IREX DR800SG 2.0 Beta feedback to IREX sordie iRex 25 04-12-2010 04:19 PM
Reference iRex: Notes (Music Sheet and Lines). v1. 28 Feb 2008 nrapallo IMP Books 0 02-28-2008 09:15 AM
Something New: iRex MyScript Notes Tscherno iRex 33 05-28-2007 12:56 AM
iRex needs you to test their iLiad beta software Alexander Turcic iRex 46 10-16-2006 05:02 PM
iRex MyScript Notes segatang iRex 2 08-22-2006 09:40 PM


All times are GMT -4. The time now is 08:40 PM.


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