https://image.online-convert.com/convert-to-svg
On 15 Jan 2018 02:55, "Niles Rogoff" wrote:
> On Sun, 14 Jan 2018 16:32:53 +0400, Abdur-Rahmaan Janhangeer wrote:
>
> > maybe save to .png then use another tool to svg
>
> PNG is a bitmap format[1], so you can't covert it to an SVG (a vector
> form
Peter Otten <__pete...@web.de> writes:
> Then convert to SVG with an external tool. It looks like ghostscript can do
> that:
>
> $ gs -dBATCH -dNOPAUSE -sDEVICE=svg -sOutputFile=tmp_turtle.svg tmp_turtle.ps
And if not (I at least don't have svg output on three ghostscripts I
tried), pstoedit can
On Sun, 14 Jan 2018 16:32:53 +0400, Abdur-Rahmaan Janhangeer wrote:
> maybe save to .png then use another tool to svg
PNG is a bitmap format[1], so you can't covert it to an SVG (a vector
format) without guessing things like the start/end points of the lines,
their slopes, etc... not to mention
11.01.18 13:03, Steven D'Aprano пише:
I'd like to draw something with turtle, then generate a SVG file from it.
Is this possible?
If not, is there something I can do which lets me plot lines, shapes and
curves and output to SVG?
You can translate the following Tcl/Tk recipe to Python/Tkinter:
maybe save to .png then use another tool to svg
On 11 Jan 2018 15:06, "Steven D'Aprano" <
steve+comp.lang.pyt...@pearwood.info> wrote:
> I'd like to draw something with turtle, then generate a SVG file from it.
>
> Is this possible?
>
> If not, is there something I can do which lets me plot lines
Steven D'Aprano wrote:
> I'd like to draw something with turtle, then generate a SVG file from it.
>
> Is this possible?
If this is a one-off job consider creating Postscript from the underlying
Canvas:
>>> import turtle
>>> for i in range(12):
... turtle.forward(100)
... turtle.left(1
On 2018-01-11 12:03, Steven D'Aprano wrote:
> I'd like to draw something with turtle, then generate a SVG file from it.
>
> Is this possible?
>
> If not, is there something I can do which lets me plot lines, shapes and
> curves and output to SVG?
>
> Ideally, I'd like to draw a figure pixel by
Steven D'Aprano writes:
> Ideally, I'd like to draw a figure pixel by pixel, and then have the SVG
> library fit a bezier curve to it.
Uhm, dunno if it is a good approach, it really depends on the kind of
"figures" you are going to draw.
Anyway, in the past I used http://pyx.sourceforge.net/ t
I'd like to draw something with turtle, then generate a SVG file from it.
Is this possible?
If not, is there something I can do which lets me plot lines, shapes and
curves and output to SVG?
Ideally, I'd like to draw a figure pixel by pixel, and then have the SVG
library fit a bezier curve to