W3C home > Mailing lists > Public > www-svg@w3.org > April 2010

Re: Margins for filters?

From: Robert O'Callahan <robert@ocallahan.org>
Date: Sun, 18 Apr 2010 16:53:31 +1200
Message-ID: <y2v11e306601004172153n9827f76ex5a3fb2aa15a381f@mail.gmail.com>
To: Jasper van de Gronde <th.v.d.gronde@hccnet.nl>
Cc: Erik Dahlstrom <ed@opera.com>, www-svg@w3.org
On Sun, Apr 18, 2010 at 3:20 AM, Jasper van de Gronde <
th.v.d.gronde@hccnet.nl> wrote:

> Furthermore, have you considered an "auto" setting? For a lot of primitives
> it is trivial to determine the appropriate margin (they don't need one), and
> for things like blur, offset and the morphology filters it's not a big
> problem either. There are some (like convolution) that could be a little bit
> trickier (when using the bias property for example), but I think most can
> simply do without a margin by default.
>

I recommend everyone just implement "auto" and we amend the spec to not clip
to the filter region. Then authors don't need to worry much about what they
set it to, and we don't need new syntax to help them set it more accurately.

See http://lists.w3.org/Archives/Public/www-svg/2008May/0014.html for more
details.

Rob
-- 
"He was pierced for our transgressions, he was crushed for our iniquities;
the punishment that brought us peace was upon him, and by his wounds we are
healed. We all, like sheep, have gone astray, each of us has turned to his
own way; and the LORD has laid on him the iniquity of us all." [Isaiah
53:5-6]
Received on Sunday, 18 April 2010 04:54:04 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:44 GMT