04-19-2010, 04:22 PM | #31 |
Connoisseur
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.
|
04-21-2010, 01:11 AM | #32 | |
Enthusiast
Posts: 40
Karma: 10
Join Date: Apr 2010
Device: DR800SG
|
RE: Convert Irex Notes of new firmware 2.0 BETA
Quote:
|
|
Advert | |
|
04-21-2010, 02:27 AM | #33 |
Member
Posts: 18
Karma: 100
Join Date: Apr 2010
Location: The Netherlands
Device: iRex DR1000S
|
Maybe, I hope it will run with Mono on Linux (sometime). Someone with a Mac computer is/was testing this.
|
06-20-2010, 08:10 PM | #34 | |
Addict
Posts: 244
Karma: 124
Join Date: Feb 2010
Device: none
|
Quote:
|
|
06-21-2010, 04:07 AM | #35 |
Member
Posts: 18
Karma: 100
Join Date: Apr 2010
Location: The Netherlands
Device: iRex DR1000S
|
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. |
Advert | |
|
06-21-2010, 05:26 AM | #36 |
Guru
Posts: 999
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. |
06-21-2010, 01:40 PM | #37 |
Addict
Posts: 244
Karma: 124
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?
|
06-21-2010, 02:07 PM | #38 |
Addict
Posts: 244
Karma: 124
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? |
06-21-2010, 03:45 PM | #39 |
Addict
Posts: 244
Karma: 124
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.
|
06-21-2010, 06:16 PM | #40 |
Addict
Posts: 244
Karma: 124
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...
|
06-22-2010, 03:48 AM | #41 |
Guru
Posts: 999
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. |
06-22-2010, 01:55 PM | #42 |
Addict
Posts: 244
Karma: 124
Join Date: Feb 2010
Device: none
|
Hi Mackx, where is the source code for your port of Xournal?
|
06-22-2010, 02:53 PM | #43 | |
Member
Posts: 18
Karma: 100
Join Date: Apr 2010
Location: The Netherlands
Device: iRex DR1000S
|
Quote:
If a person is willing to take over, the project will be open source: D |
|
06-22-2010, 05:12 PM | #44 |
Guru
Posts: 999
Karma: 19985
Join Date: Dec 2008
Location: Netherlands
Device: iRex DR1000S
|
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. |
06-22-2010, 05:26 PM | #45 |
Addict
Posts: 244
Karma: 124
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 08:53 PM. |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
IREX DR800SG 2.0 Beta feedback to IREX | sordie | iRex | 25 | 04-12-2010 05:19 PM |
Reference iRex: Notes (Music Sheet and Lines). v1. 28 Feb 2008 | nrapallo | IMP Books | 0 | 02-28-2008 10:15 AM |
Something New: iRex MyScript Notes | Tscherno | iRex | 33 | 05-28-2007 01:56 AM |
iRex needs you to test their iLiad beta software | Alexander Turcic | iRex | 46 | 10-16-2006 06:02 PM |
iRex MyScript Notes | segatang | iRex | 2 | 08-22-2006 10:40 PM |