[CREATE] OpenRaster and filters
Cyrille Berger
cberger at cberger.net
Mon Jun 16 15:01:28 PDT 2008
On Friday 13 June 2008, Kai-Uwe Behrmann wrote:
> Am 12.06.08, 18:32 -0400 schrieb Liam R E Quin:
> > On Wed, 2008-06-11 at 21:20 +0200, Cyrille Berger wrote:
> > [...]
> >
> > > 1) <filter name="standard:blur" type="standard:gaussianblur">
> > > <params>
> > > <param name="radius">10</param>
> > > </params>
> > > </filter>
> > >
> > > 2) <filter:standard:blur radius="10" />
> > >
> > > 3) <filter:standard:blur>
> > > <radius>10</radius>
> > > </filter:standard:blur>
>
> Giving "filter" a more distinguishable name would help reusing them.
> Otherwise it is possible that filters get confused during XML
> processing and parameters dont match?
> "xmlns:openraster:filter"
Adding a namespace is allways a possibility, when you want to reuse, even if
it's not defined in the original spec.
> As well radius has a integer value. It would be nice to see:
> a) this being declared (xs:int ?)
Sure. Most likely with a default type when not specified.
> b) to make options a non pixel thing, e.g. move to a precentage
> relationship
How would you define a percentage for a radius ?
--
Cyrille Berger
More information about the CREATE
mailing list