
Reading the SVG specs, I see that there is a big chunk of C code in the feTurbulence filter effect spec. What is the copyright status of this piece of code? Is it public domain? After all, it is inside the specs, would them sue us if we copy&paste it? If we can use it let me know the conditions so that I can try to implement this filter more easily.
the code is here: http://www.w3.org/TR/SVG11/filters.html#feTurbulence
Juca

Mon, 23 Jul 2007 15:39:22 -0300 "Felipe Sanches" <felipe.sanches@...400...> kirjoitti:
Reading the SVG specs, I see that there is a big chunk of C code in the feTurbulence filter effect spec. What is the copyright status of this piece of code? Is it public domain? After all, it is inside the specs, would them sue us if we copy&paste it? If we can use it let me know the conditions so that I can try to implement this filter more easily.
I've looked into that filter, and it seems that the code is under W3C Document Copyright Notice and License. It might also fall under W3C Software Copyright Notice and License, it's not too clear.
Well, anyhow: be warned. It is far from being good code. Actually, gcc won't even compile it as-is, because some parts of it are valid C but invalid C++ and some parts valid C++ but invalid C.

On Monday, July 23, 2007, 8:53:49 PM, Niko wrote:
NK> Mon, 23 Jul 2007 15:39:22 -0300 NK> "Felipe Sanches" <felipe.sanches@...400...> kirjoitti:
Reading the SVG specs, I see that there is a big chunk of C code in the feTurbulence filter effect spec. What is the copyright status of this piece of code? Is it public domain? After all, it is inside the specs, would them sue us if we copy&paste it? If we can use it let me know the conditions so that I can try to implement this filter more easily.
NK> I've looked into that filter, and it seems that the code is under W3C NK> Document Copyright Notice and License. It might also fall under W3C NK> Software Copyright Notice and License, it's not too clear.
I assert that the code is under software license and the spec is under the document license.
The difference is that you can't make a modified version of the spec without asking, but you can make a modified version of the software.
NK> Well, anyhow: be warned. It is far from being good code. Actually, gcc NK> won't even compile it as-is, because some parts of it are valid C but NK> invalid C++ and some parts valid C++ but invalid C.
Its C-like pseudocode.

On Monday, July 23, 2007, 8:39:22 PM, Felipe wrote:
FS> Reading the SVG specs, I see that there is a big chunk of C code FS> in the feTurbulence filter effect spec. What is the copyright FS> status of this piece of code? Is it public domain?
No, its not public domain (in the strict sense of that word). It has a copyright and a license, so its not public domain.
FS> After all, it is inside the specs, would them sue us if we FS> copy&paste it?
No, W3C would not. The specification may be freely implemented without fee. And that chunk of pseudocode is there precisely to help interoperability. You are welcome to copy it, use it as is, or make a derived optimized version. We do ask that you stick something in the readme or license.txt or whatever saying where that code came from.
FS> If we can use it let me know the conditions so that I can try to FS> implement this filter more easily.
FS> the code is here: http://www.w3.org/TR/SVG11/filters.html#feTurbulence
The W3C software license is here http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 it seems pretty clear (to me) but if you have questions, please ask.
BTW this is linked (together with the copyright etc) from the front page of the SVG 1.1 specification.
participants (3)
-
Chris Lilley
-
Felipe Sanches
-
Niko Kiirala