时间:2021-07-01 10:21:17 帮助过:16人阅读
$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';
}