SWF到PDF使用PHP [英] swf to pdf using php
本文介绍了SWF到PDF使用PHP的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
解决方案
要使用 ffmpeg 将swf转换为一系列jpeg图像,每帧一个,使用image2输出编解码器(参见手册的这一部分)。然后,您可以选择适当的框架,并使用 pdflib , fpdf 或类似的图书馆。
Is there any way to convert a SWF to pdf using php. i mean the page has a button on the click it must export the swf contents in pdf.
解决方案
One approach you could try is to use ffmpeg to convert the swf to a series of jpeg images, one per frame, using the 'image2' output codec (see this part of manual). Then you can select the appropriate frame and build a PDF with it using pdflib, fpdf or similar library.
这篇关于SWF到PDF使用PHP的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文