For converting Flash to PNG or SWF to PNG format file by command line, you can choose the application Flash to PNG Converter Command Line.
Flash to PNG Converter is a MS-DOS interface oriented application, and it is free to be downloaded and evaluated. You will find it is a zip file and you should unpack it on some disk of your computer for smoothly calling the executable file.
Open MS-DOS command line prompt window by any one of two methods offered here. The first one is to click “Start”—“Run” to open “Run” dialog box. Then input “cmd” in “Open” edit box and click “OK” button. The second one is to use the hot key “Window”+ “R” combination to open “Run” dialog box.
There is a command line template about converting Flash to PNG as follows:
swf2img.exe -in input.swf -out output.png
The whole command line is
"C:\Documents and Settings\admin\My Documents\Downloads\swftoimage_cmd\swf2img.exe" -in D:\test\google\google.swf -out test.png
"C:\Documents and Settings\admin\My Documents\Downloads\swftoimage_cmd\swf2img.exe"
Flash to PNG Converter Command Line provides two kinds of authentication, one is a server license and the other is a developer license. With a server license, you can run this application on your server. If you need to redistribute this application in your developed software, please buy a developer license.