rebootcode / svg-edit

Automatically exported from code.google.com/p/svg-edit
MIT License
0 stars 0 forks source link

Implement bitmap-tracing #730

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Investigate whether potrace (http://potrace.sourceforge.net/) can be 
implemented in Canvas+JS to output SVG.

Original issue reported on code.google.com by codedr...@gmail.com on 25 Oct 2010 at 3:51

GoogleCodeExporter commented 9 years ago
FYI, I heard from the author of potrace and it will not be possible to use that 
algorithm due to the Apache 2 licensing and the less-liberal licensing on 
potrace (GPL).

Original comment by codedr...@gmail.com on 4 Nov 2010 at 12:27

GoogleCodeExporter commented 9 years ago
I'm sure there's some way to get around the restriction by making the js/canvas 
potrace port a separate gpl-licensed project and linking to it from svg-edit.

I'm probably going to look into porting this soon because it seems like 
something that may be useful apart from svg-edit anyway. There's a port of the 
algorithm to C# (http://www.drawing3d.de/Downloads.aspx) and since C# is a lot 
closer to Javascript than the original C, it should be relatively easy to port.

Original comment by Antimatter15 on 4 Nov 2010 at 2:41

GoogleCodeExporter commented 9 years ago
You might be able to do it in a GPL-licensed project that uses SVG-edit, but 
not the other way around. We can't use GPL-licensed code in SVG-edit unless 
it's been dual-licensed with an Apache-compatible license (like MIT).  Note 
that this is a restriction of the GPL, not Apache.

The author of potrace was very clear that his code is not dual-licensed and 
that he would not grant SVG-edit an exception since anyone could take SVG-edit, 
turn it into a commercial product and make money off of his work.

I suppose we could dual-license SVG-edit and then have a set of extensions that 
can only be used in a GPL version, but that starts to get tangly and there are 
no budget for lawyers on this project :)

Original comment by codedr...@gmail.com on 4 Nov 2010 at 5:14

GoogleCodeExporter commented 9 years ago
If a port of his code to JS under an Apache license is not possible, can I 
think about re-writing from scratch the tool based on the algorithms from the 
potrace technical paper? (see http://potrace.sourceforge.net/potrace.pdf )
Or maybe another paper (unpatented) would be better.

Original comment by steren.g...@gmail.com on 1 Dec 2011 at 12:31

GoogleCodeExporter commented 9 years ago
Issue 888 has been merged into this issue.

Original comment by codedr...@gmail.com on 22 Feb 2012 at 5:40