Convert Swf to Image

Is there an application (or a path in coldfusion / VB.net) to be able to convert swf to an image file? It should be of good quality and should not be too slow.

+4
source share
2 answers

http://bytescout.com/products/developer/swftoimagesdk/swftoimage.html

Sample code (using a fixed preload time)

Set SWFToImage = CreateObject("SWFToImage.SWFToImageObject") SWFToImage.InputSWFFileName = "PRELOAD1://movie_with_dynamic_data.swf" SWFToImage.ImageOutputType = 1 ' set output image type to Jpeg (0 = BMP, 1 = JPG, 2 = GIF) SWFToImage.Execute_Begin ' start conversion SWFToImage.FrameIndex = 1 ' set frame index SWFToImage.Execute_GetImage SWFToImage.SaveToFile "movie_with_dynamic_data.jpg" SWFToImage.Execute_End ' end conversion 
0
source

You can export directly from Adobe flash to PNG.

Or you can use swftools .

 swfrender file.swf -o output.png 
+2
source

All Articles