Re: Expressing complex regions with media fragments - use cases + possible solution

Hi Silvia,

> I'd go as far as saying that if it is possible to write the
> specification of the region highlight in a document rather than in a url
> as Bernhard has done in his examples, there isn't a need for reference
> URLs and the svg-fragment example is perfectly fine. Just use SVG filters:
>
> <?xml version="1.0" ?>
> <r:RDF xmlns:r="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
>        xmlns:a="http://www.w3.org/2000/10/annotation-ns#"
>        xmlns:d="http://purl.org/dc/elements/1.1/">
> <r:Description>
> <a:annotates r:resource="http://serv1.example.com/some/page.html"/>
> <x:svg-fragment rdf:parseType="Literal">
> <svg:defs xmlns:svg="http://www.w3.org/2000/svg">
> <svg:filter id="c1">
> <svg:symbol id="Polygon" xmlns:svg="http://www.w3.org/2000/svg">
> <svg:polygon fill="none" points="52,203 0,124 186,0 238,80 52,203 "
> stroke="rgb(255,0,0)" stroke-width="0"
> xmlns:svg="http://www.w3.org/2000/svg"/>
> </svg:symbol>
> </svg:filter>
> </svg:defs>
> <svg:img height="270px" width="480px" "http://example.com/image1.jpg"
> filter="url(#c1)"/>
> </x:svg-fragment>
> </r:Description>
> </r:RDF>
>
> You can define the mask in that same file (as done above) or in a
> different file, so you will basically get what you want for free with
> the @filter and relative url there.

Sure, this will work. But if I have 10 annotations to the same fragment, 
I need to redefine it every time. This is all the purpose of referring 
to it :-)

   Raphaël

-- 
Raphaël Troncy
EURECOM, Multimedia Communications Department
2229, route des Crêtes, 06560 Sophia Antipolis, France.
e-mail: raphael.troncy@eurecom.fr & raphael.troncy@gmail.com
Tel: +33 (0)4 - 9300 8242
Fax: +33 (0)4 - 9000 8200
Web: http://www.eurecom.fr/~troncy/

Received on Thursday, 9 September 2010 12:44:18 UTC