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

Go Back   MobileRead Forums > E-Book Readers > Android Devices > enTourage eDGe > enTourage Archive


Thread Tools Search this Thread
Old 04-28-2011, 11:00 AM   #1
Edge User
Information about merging pdf with annotations

Recent developments have moved us closer to the posibility of being able to merge the pdf annotations to the pdf as it should have been from the beginning (as separate layers the way most pdf editors work)
  • kenjennings discovery of the library database that contains all the information about the annotations done in books
  • Luntz work on dealing and converting handwriting done with the wacom digitizer

So I talked to the author of the pdf annotation merger for the EEENote and he gave some really good information which I would like to share.
Hi Fred,

I don't like to publish the source code because I have invested much time to extract the placing information for the annotations in the pdf. However, I can tell you how I've done it.

I've used Visual Studio 2008 to write a C#.Net program, because it has some features such as LINQ that I can use to easily query on XML files (what I needed) and different databases, which I maybe will need in future to access the SQLLight databases.

To copy the original pdf and add layers for handwritten notes to the PDF and place the comments, I have used the iTextSharp API.

At the Eee Note only some information is stored in accessible databases. Most information lies in the user directory of the internal SD card. At first I've used the backup of the Eee Note where the handwritten annotations are stored as png images. There is an "remark" file that stores the information about the zoom level and the page the png belongs to. At first I copy the content of the original pdf page (content and size) to a new page of the new pdf. Because the png has additional margins for annotations, I have to place the layer at the correct position and scale the resolution to the page resolution. Then I add the layer (as canvas) to the new pdf page.

For comments this is much more difficult to find the right position, because there are some margins that are wacom dependent and not stored in the database. Maybe this is easier at the entourage.

To access the Eee Note directly, I use a telnet connection to the Eee Note in sync mode. Therefore, I have used the information provided in the "peek within" threat in this forum (the python script in one of the first pages). So I received the folder ids and the commands needed to get an xml describing the folder structure and the paths to the files.

I don't know how to receive the data from the entourage edge, but accessing a database should be possible if the protocol of the entourage edge is known.

If particular problems during implementation occur, you can contact me

I hope this helps.

I probably won't be looking into this until June so if anyone wants to take the lead please do so!

Last edited by fgruber; 05-03-2011 at 02:50 PM.

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Information about merging pdf with annotations fgruber enTourage eDGe 0 04-29-2011 10:42 AM
Kindle 3: merging annotation with the PDF file?? jimbbq Amazon Kindle 3 11-22-2010 01:12 PM
Problem with merging scribbles to PDF file MikeTr iRex 2 01-15-2010 03:45 AM
Help with PDF merging E.M. iRex 2 03-21-2009 03:19 PM
Merging Scribbles with Pdf jæd iRex 15 12-20-2006 04:40 AM

All times are GMT -4. The time now is 03:50 PM. is a privately owned, operated and funded community.