RubyPDF Blog PDF,tutorial Convert html to SWF with Free tools wkhtmltopdf and pdf2swf

Convert html to SWF with Free tools wkhtmltopdf and pdf2swf

wkhtmltopdf is a simple shell utility to convert html to pdf using the webkit rendering engine, and qt.
pdf2swf(part of SWFTOOLS) is A PDF to SWF Converter. Generates one frame per page. Enables you to have fully formatted text, including tables, formulas, graphics etc. inside your Flash Movie. It’s based on the xpdf.
Both of them are open source and can works on multi-platform(cross platform), so If we want to convert a html file or webpage to SWF, we can use wkhtmltopdf to convert html(webpage) to PDF, then use pdf2swf to convert pdf to swf.

reference,

P.S. A simple routine and example(result),
wkhtmltopdf "http://www.grzmobile.com/blog/2009/11/13/integrating-lua-into-an-iphone-app.html?printerFriendly=true" "Integrating Lua into an iPhone App.pdf"
pdf2swf "Integrating Lua into an iPhone App.pdf" "Integrating Lua into an iPhone App.swf"

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.