1. Download the attachment and install it. Please see the help in the attachment
2. Copy the code into the appropriate location, generate the image, and figure out how to process it yourself
Copy the code The code is as follows:
$oldswf = "/uploads/swf/test.swf";
$oldjpg = "/uploads/litpic/test.jpg";
$flash2jpeg = new COM("SunCN.Flash2Jpeg");
if ($flash2jpeg) {
$a = $flash2jpeg->Flash2Jpeg($oldswf, 150, 200, $oldjpg);
if ($a) {
$litpic = '/images/defaultpic.gif';
} else {
$litpic = $oldjpg;
}
} else {
$litpic = '/images/defaultpic.gif';
}
http://www.bkjia.com/PHPjc/732386.htmlwww.bkjia.comtruehttp: //www.bkjia.com/PHPjc/732386.htmlTechArticle1. Download the attachment and install it. For instructions, see the help in the attachment. 2. Copy the code into the appropriate location to generate the image. , you can figure it out yourself. Copy the code as follows: $oldswf = "/uplo...
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn