Partners Contact US Site Map Blog
A professional PDF Converter, PDF Writer, PDF Creator, PDF Editor, HTML Converter, Postscript Converter, AutoCAD DWG Converter, as well as PCL Converter, etc.  

Convert SWF to Image in Batch

Flash to Image Converter is a tool for converting frames of Shockwave Flash (SWF) to images. It is designed for running in MS-DOS command line mode. A MS-DOS interface supported application natively supports being called via a script. With a batch script, the application can process more than one SWF files in one command line.

A basic command for converting frames of a SWF to JPG images is as follows,
>swf2img.exe -in a.swf -out b.jpg .


Here is a simple guide about how to use Flash to Image Converter Command Line.


This command line converts frames of "a.swf" and save the converted JPG images with names of "b" followed by increasing continuous numbers, e.g., "b0001.jpg". The above command line can only converts one SWF file in one line. You can use these commands for converting all SWF files in the current directory.
>for %F in (*.swf) do "swf2img.exe" -in "%F" -out "%~dpnF.jpg" .

This command line will convert all SWF files (*.swf) in the current directory and save them using the name of the source SWF files with increasing numbers and extension name ".jpg" followed.

The following snapshot is of the batch conversion progress. You see that the two SWF files "a.swf" and "b.swf" are processed by the first command line displayed in the snapshot.

batch process with batch script
Flash to Image Converter Command Line supports these options,
  • -in: specify input SWF file name
  • -out: specify output image file name
  • -width and –height: set the width and height of converted image
  • -timer: set the capture interval of conversion, in unit of millisecond
  • -hidewindow: hide the progress dialog during conversion
  • -$: register the application with a registration key

For more information, you can just type the command "swf2img" without any option in the MS-DOS command prompt interface.

  What's Next
  Learn more about
Flash to Image Converter Command Line
Take a look at other related products

Home | Site Map | | | Contact | Blog
Copyright ©2002- Company. All Rights Reserved.