Git Product home page Git Product logo

swf2svg's Introduction

SWF2SVG

I observed with disbelief that there is no real, working way to extract the shapes in static SWF frames that doesn’t require heavy interaction.

There was a bunch of outdated or bad tools, e.g. Steve Probets’, ALI G’s or some python script based on SWFDUMP.

There were complicated solutions that required much user interaction per conversion, such as printing the SWF to a PDF and using Inkscape to import that. I found one of these in this Stackoverflow question, but it used a library. And having recently heared about Adobe’s AIR, I made the connection.

And two days fiddling with a (for me) completely new technology, I present: SWF2SVG.

Usage

SWF2SVG file1.swf file2.swf …

creates

file1.svg file2.svg …

swf2svg's People

Contributors

flying-sheep avatar

Stargazers

Andre Fuchs avatar Nukadelic avatar amgg avatar  avatar Pierre Chamberlain avatar  avatar tlissak avatar  avatar dev avatar Roman Glebsky avatar nimo avatar Lukasz Jablonski avatar hiyoko avatar Stanislav avatar Carla Anne avatar Theun Kohlbeck avatar Pedro Casaubon avatar Kelly Karnetsky avatar Po-Ying Chen avatar Nathan Harper avatar alex avatar  avatar yoshiweb avatar Tamas Hortobagyi avatar Oleg Galaburda avatar  avatar cadl avatar Andoni Zubimendi avatar Viacheslav Shabelnyk avatar Wisdom avatar Jay C Stiles avatar EM3R50N avatar Alli avatar Sarah Kuehnle avatar Joe Heyming ¯\_(ツ)_/¯ avatar  avatar Kohei Kadowaki avatar  avatar  avatar Rikiya Yamamoto avatar  avatar softcup avatar George Profenza avatar Joohun, Maeng avatar

Watchers

 avatar  avatar James Cloos avatar Viacheslav Shabelnyk avatar  avatar

swf2svg's Issues

works great in Win8, thank you + wildcard suggestion

thanks for the super software.

FYI to batch convert in windows simply use a command line like

for %f in (*.swf) do call "C:\Program Files (x86)\SWF2SVG\SWF2SVG\SWF2SVG.exe" %~nf.swf

... or updating your script to accept wildcards in the file name would be even more powerful.
thanks again

Silently fails

Hello.

It doesn't work with this file

page0011.zip

It silently fails and doesn't give any error message. No SVG file is outputted.

What are my options?

Thanks!

Try with this one

Try this one :)

rute
(rename to swf - github doesn't allow anything else)

It won't work. It extracts only a single shape, and it's not the one you'd want from a thing like this. This one consists of a bunch of shapes on top of one another, so it would be great if the svg was like that too.

Doesn't support adobe air 2.6 ie. Linux compatible versions.

screenfetch -n
 OS: Mint 18.2 sonya
 Kernel: x86_64 Linux 4.8.0-53-generic
 Uptime: 2h 57m
 Packages: 3697
 Shell: bash 4.3.48
 Resolution: 1920x1080
 DE: Cinnamon 3.4.6
 WM: Muffin
 WM Theme: New-Minty (Mint-Y-Dark)
Mint-Y-Dark [GTK2]
, Mint-Y-Dark [GTK3]
 Icon Theme: Mint-X-Red
 Font: Noto Sans 9
 CPU: Intel Core i5-5200U CPU @ 2.7GHz
 GPU: Mesa DRI Intel(R) HD Graphics 5500 (Broadwell GT2) 
 RAM: 1512MiB / 3856MiB

Air error:
selection_021

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.