[swfmill] svg conversion to flash
Martin Ficzel
mficzel at artec-berlin.de
Wed Oct 18 09:22:19 EDT 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Mark Winterhalder schrieb:
>> - - the importing of files created with autotrace caused no
>> errors but nothing was visble afterwards and the filesize was
>> just 70bytes
>
> As an experiment, try to open the SVG with Inkscape, select-all,
> then do a Path -> Object to Path. Maybe it works, and maybe it can
> be used to batch convert somehow.
>
> Mark
i tried to import some svg's wich were created with ihnkscape and it
worked as expected. so the problem is the structure of the traced svg
files
wich is very simple
autotrace (nothing is visible)
> <?xml version="1.0" standalone="yes"?> <svg width="500"
> height="500"> <path style="fill:#0a0a0a; stroke:none;" d="M402
> 16.5293C394.385........M......M........M.......z"/> </svg>
potrace (swfmill crash)
> <?xml version="1.0" standalone="no"?> <!DOCTYPE svg PUBLIC
> "-//W3C//DTD SVG 20010904//EN"
> "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"> <svg
> version="1.0" xmlns="http://www.w3.org/2000/svg" width="468pt"
> height="468pt" viewBox="0 0 468 468" preserveAspectRatio="xMidYMid
> meet"> <metadata> Created by potrace 1.7, written by Peter Selinger
> 2001-2005 </metadata> <g transform="translate(0,468)
> scale(0.093600,-0.093600)" fill="#000000" stroke="none"> <path
> d="M3985 4831 c-22 -10 -60 .................z"/> <path d="M1610
> 4331 c-30 -10 -100 ................z"/> <path d="M4200 1519 c-41 -4
> -179 -7 .................z"/> <path d="M2814 1280 c-6 -6 -105 -12
> ............z"/> </g> </svg>
i will try to figure out what changes to the swf are necessary to make
it work
regards Martin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFNiqKKzittp3xLw4RAnJ1AKCELxfX0itEebo54EF5kugXaGe/xACfeShO
31bnJ4YyHsDGLgr9j/hoNbg=
=G2qn
-----END PGP SIGNATURE-----
More information about the swfmill
mailing list