[osflash] SWF to image convertor

Robin Debreuil robin at debreuil.com
Thu Jul 26 19:14:59 EDT 2007


Getting the data out of flash isn't that bad, what you need is a library to
write to. In the windows case with GDI it is simple, you get the shapes,
bitmap fills etc, and just writeline, writecurve, bitmapbrush etc. Probably
the reason you don't see a (free) screenshot tool for linux etc is that
those are things baked right in. I'm sure you can do it with QT or
something, but that gets to be a fair bit of research and work for pretty
limited use (considering these things are available on windows already that
is). 
 
More interesting would probably be to use Java's SWT. You could take the
output of any of the swf tools out there (swfmill for example) and then just
parse it into SWT (which has the drawline etc stuff already). Actually I
might give that a look, I have swf going to gdi already in our own tools, it
would be almost the same. Just I'm still recovering from a year doing
Eclipse programming, I'll have to see if I can bear looking at that stuff
again. Always like SWT though, might be fun : ).
 
I'll let you know, or if you want to try it yourself, feel free to ping me
for conversation : ).
 
Cheers,
Robin

  _____  

From: osflash-bounces at osflash.org [mailto:osflash-bounces at osflash.org] On
Behalf Of Ashutosh Chauhan
Sent: Thursday, July 26, 2007 1:30 AM
To: osflash at osflash.org
Subject: Re: [osflash] SWF to image convertor


Dear Phil,
Thanks for pointing that out. I didnt know that. I will try Mono and will
report if i get the success. But an open source version of such swf to image
convertor would be quite useful. I am still finding it hard to believe that
such a tool doesnt exist. It would be quite useful because there are many
people out there who still dont have a flash plugin installed on their
browsers and to serve them it make sense to show them an image instead of
swf and for that one need to have this convertor. I believe its quite a
routine task, so there must be already a tool for it.  
 
On the side note : Can some give some pointers on how to write such a
convertor, so that I can write this of my own and then contribute to
osflash.
 
Cheers,
Ashutosh. 
 


Date: Wed, 25 Jul 2007 17:14:03 -0400
From: "Phil Peron" < pperon at gmail.com <mailto:pperon at gmail.com> >
Subject: Re: [osflash] SWF to image convertor
To: "Open Source Flash Mailing List" <osflash at osflash.org>
Message-ID:
       < 5c2b303d0707251414k1542a7fcyf92fa410a33ea4fd at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

On 7/25/07, Ashutosh Chauhan < ashutosh.chauhan at gmail.com> wrote:

>
> My problem is I am on linux thus cant use C##, .NET libs.
>

I don't want to get too off-topic here but have you looked into Mono? 

http://www.mono-project.com/Main_Page



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/osflash_osflash.org/attachments/20070726/d58b1c1d/attachment.html 


More information about the osflash mailing list