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: Tue, 9 Sep 2014 00:51:30 -0700
Message-ID: <CAKLmikN7tWk2sYPWFmCGnoaoBDgM-W5oA=LTzmKDLLDnprTrjg@mail.gmail.com>
To: Benjamin Young <bigbluehat@hypothes.is>
Cc: public-openannotation <public-openannotation@w3.org>
Hi!

After talking today with the PDF.js team at the web meeting, I opened
this ticket:

https://github.com/mozilla/pdf.js/issues/5283

Feel free to add more information, pitch in, or show some support for the idea.


Mitar

On Thu, Sep 4, 2014 at 3:38 AM, Mitar <mmitar@gmail.com> wrote:
> 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



-- 
http://mitar.tnode.com/
https://twitter.com/mitar_m
Received on Tuesday, 9 September 2014 07:51:57 UTC

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