2

我有数百个 swf 格式的文件(它是一本电子书),我想将它们批量转换为 pdf(以便在我的 iPad 上阅读它们)。

我尝试了一些像eConverter一样的东西(swfdec 没有工作得到错误),这也可能无法进行批量覆盖。

swftool,运行良好,但质量很差。我看不懂这些字母。

SWF Printer Pro 再次质量不佳

ffmpeg给出错误“不支持压缩的 SWF 格式”

如果你们能帮助我找到解决方案,那就太好了。谢谢

4

2 回答 2

0

如果您只想在 iPad 上阅读它们,您可以执行以下操作:

  1. 在 Finder 中创建 ORB 书。

将所有 swf 文件打包到一个 .orb 文件中。(每页一个瑞士法郎)

http://rintarou.dyndns.org/2014/09/13/create-an-orb-book-in-finder/

  1. 下载适用于 iPad 的 ORB 查看器(Lite 可免费使用 Ads 并且仅打开第一个 .orb 文件)。

用它来读取 iPad 上的 .orb 文件。

http://rintarou.dyndns.org/works/orb-viewer/

如果您确实需要将它们转换为 PDF,您可以购买 ORB Reader for Mac。

它将在 Mac 上读取 .orb 并转换为 PDF。

PS。我是上述这些应用程序的作者。

于 2014-10-01T07:17:05.280 回答
0

我用 HotKey 脚本做类似的事情。下面附加了一个示例(带有解释和 HotKeyNet 脚本主机软件的链接)。(注意:此答案特定于 Windows 平台。)

// Software: http://hotkeynet.com
// http://www.adobe.com/support/flashplayer/debug_downloads.html
// https://www.foxitsoftware.com/products/pdf-reader/

// Script for HotKeyNet (0.1.45 Build 210) to automate
// converting many .SWF files to PDFs by opening each SWF in
// Adobe's standalone Flash Player and then printing it as a
// PDF file using Foxit Reader's virtual PDF printer. The SWF
// files' contents are static (not animated), and are thus
// suitable for printing. They are pages of a print magazine
// and the files contain multiple objects - images, text,
// fonts, and rendering and layout information.

// The script works by sending a sequence of keystrokes
// to the main and child windows of Adobe Flash Player
// and Foxit Reader's PDF Printer

// To use this script:
// 1) Load it in HotKeyNet.exe, then:
// 2) Minimise HotKeyNet to the taskbar.
// 3) Set Foxit's PDF Printer as the default printer.
// 4) Open file 01.swf in Adobe Flash Player, and manually
//    perform the above sequence for converting it to PDF
//    to establish the source and destination folders to
//    be used by the player and the virtual printer.
// 5) Ensure that the flash player has the focus. (i.e.
//    that it is the foreground application.)
// 6) Press the HotKey defined below to run the script.


// Part 1: Define a user-command "PrintOnePage".
// Within the command, %1% stands for a parameter
// passed to the command, which will be a filename.
// That name will be used as both the .SWF file to
// be opened and the .PDF file to be written.

<Command PrintOnePage>
        <sendpc local>
            <sendwin "Adobe Flash Player 23">

// Key sequence to open a file in the player:
// Alt+F, O, Alt+B, filename, Alt+O, Enter 

            <key LAlt F>
            <key O>
            <key LAlt B>
            <wait 500>
            <text %1%>
            <key LAlt O>
            <wait 500>
            <key Enter>

            <sendwin "Adobe Flash Player 23">

// Key sequence to print the file as a PDF:
// Alt+F, P, Alt+P, Alt+N, filename, Enter

            <key LAlt F>
            <key P>
            <wait 4000>
            <sendwin Print>
            <key LAlt P>
            <wait 500>
            <sendwin "Print to PDF Document - Foxit Reader PDF Printer">
            <key LAlt N>
            <text %1%>
            <key Enter>
            <wait 12000>

// End of user-command definition


// Part 2: Define a HotKey that, when pressed (once),
// will run the above command multiple times with a
// different parameter each time. They are 02, 03, 04,
// etc, which are the SWF and PDF filename pairs.

<hotkey F1>
<PrintOnePage 02>
<PrintOnePage 03>
<PrintOnePage 04>
<PrintOnePage 05>
<PrintOnePage 06>

// Add a line for each page file

// End of script
于 2017-05-12T04:31:56.063 回答