Some of you may need to generate small size SWF files when convert PDF to SWF. This article shows how to convert PDF to SWF and use compression. The tool you are going to need is called VeryDOC PDF to Vector Converter, which is a professional application which can convert PDF to various vector image formats.
You can download this tool by clicking VeryDOC PDF to Vector Converter. Place the ZIP file on wherever you like, say, disk C, and then decompress the ZIP file and do as follows:
1. Open a command prompt window
According to different Windows operating systems, different ways are required to open a command prompt window. For instance, if you are under Windows XP, you should click Start, > click Run, > type cmd in the Run dialog box, > and click OK in the Run dialog box. The command prompt window pops out, and you can proceed to the next step.
2. Type a command line and press Enter
You need to type a command line depending on the following syntax:
pdf2vec.exe [options] [Options] <PDF Files>
The option that can help you generate compressed SWF files is -swfopt “-z”. To view other options, you can type the directory and name of the executable file named pdf2vec in the command prompt window and press Enter.
The following are two examples that can convert PDF to SWF:
- C:\pdf2vec_cmd\pdf2vec.exe -swfopt “-z” D:\input.pdf E:\output.swf
- C:\pdf2vec_cmd\pdf2vec.exe -swfopt “-z” D:\*.pdf E:\*.swf
The first example can convert a single PDF to SWF. The second one can convert multiple PDF to SWF in a batch. In the first example, C:\pdf2vec_cmd\pdf2vec.exe stands for the executable file. -swfopt “-z” is the option for create compressed SWF. D:\input.pdf stands for the input file and E:\output.swf represents the output file. In the second example, the wildcard * is used to represents multiple files.
Please type a command line according to your own computer and requirements. Don’t forget to press Enter after that. Then you can go to check the result. If you find VeryDOC PDF to Vector Converter is easy to use and want to buy it, please visit: https://www.verydoc.com/pdf-to-vector.html.