問(wèn)題描述
我正在尋找一個(gè)腳本,可以從 swf 文件動(dòng)態(tài)生成 jpg 縮略圖(在 php 中).有誰(shuí)知道我在哪里可以找到這樣的東西?
I'm looking for a script that will generate jpg thumbnails on the fly (in php) from a swf file. Does anyone know where I can find something like this?
推薦答案
去看看 Flash Bitmap 類吧~用它可以做很多神奇的事情~~!!!查看 Cynergy 的 Andrew Trice 的示例和來(lái)源(最后幾個(gè))
Go ahead chek out the Flash Bitmap class~ a bunch of amazing stuff can be done with it~~!!! Check out the examples and sources here by Andrew Trice of Cynergy (the last few ones)
http://www.cynergysystems.com/blogs/page/andrewtice?entry=flex_2_bitmapdata_tricks_and
主要思想是獲取位圖數(shù)據(jù)并發(fā)送到PHP GD庫(kù)以創(chuàng)建圖像.
The main idea is to get the bitmap data and send to PHP GD library to create the images.
另一種選擇:
http://ffmpeg-php.sourceforge.net/
我從鏈接中獲取:http://www.experts-exchange.com/Software/Photos_Graphics/Web_Graphics/Macromedia_Flash/Q_22400739.html
這篇關(guān)于在 php 中從 swf 文件創(chuàng)建縮略圖?的文章就介紹到這了,希望我們推薦的答案對(duì)大家有所幫助,也希望大家多多支持html5模板網(wǎng)!