W3C home > Mailing lists > Public > public-openannotation@w3.org > September 2014

Re: Converting annotations stored in the PDF into open annotation standard

From: Mitar <mmitar@gmail.com>
Date: Thu, 4 Sep 2014 03:38:50 -0700
Message-ID: <CAKLmikPJEwaZEDKWa4WCKx7tgn5CQc2ddPWcHq-89-peNu2dBg@mail.gmail.com>
To: Benjamin Young <bigbluehat@hypothes.is>
Cc: public-openannotation <public-openannotation@w3.org>
Hi!

On Wed, Sep 3, 2014 at 1:45 PM, Benjamin Young <bigbluehat@hypothes.is> wrote:
> From what little I know, the PDF annotation are really just another layer of
> PDF content. They're stored as "Annot" dictionaries on the actual Page.
> Outside of positioning on the page, not much in those objects (from a quick
> read) seem to give one the ability to re-anchor those annotations on another
> representation...sadly.

The issue I see is that there are two things (if I use Mac OS X
Preview to do them):
- highlights
- annotations

Highlights are for example drawn by PDF.js even if you don't enable
annotation support. They are also not returned through their
annotations API. So for me it seems that they are stored differently.
Also annotations looks like that have only rectangle locations
defined, while drawn highlights can follow the text nicely.

So I wonder how those highlights are stored. Once we get them somehow
from PDF.js, we can look into how to convert them to open annotation
standard. But for now I don't see a way how to extract them from
PDF.js. I would love if they would be part of what their annotation
API returns.


Mitar

-- 
http://mitar.tnode.com/
https://twitter.com/mitar_m
Received on Thursday, 4 September 2014 10:39:18 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:22:06 UTC