Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I convert a .swf file to an image format?

I need to take a .swf Flash file, ideally from a URL (but I can read the file from disk also) and create an image preview of it (png, gif or jpeg is fine).

I am using Adobe Coldfusion 8 so I'm looking for a Java solution. I need to get the first frame of the Flash movie only.

Many thanks in advance.

EDIT: I need to do this on the server in Java/CF at runtime - it's got to be automatic - I'm not looking for screen-grab software! :)

like image 461
Ciaran Archer Avatar asked Dec 16 '09 14:12

Ciaran Archer


1 Answers

Is this running in a web browser? Or standalone - actually, either works. Simply get it to the point you want, and take a screenshot (Print Screen). That'll giev you an image you can paste into your image app of choice.

IF however you're wanting to code it, you'll need to probably want to try this freeware toolkit:

http://bytescout.com/swftoimage_swf_to_jpg.html

which allows you to take a flash file and convert the first frame to your image type of choice :)

like image 109
Mark Mayo Avatar answered Oct 12 '22 23:10

Mark Mayo