Flash2jpeg Service-Side components Download _ Common Tools
Source: Internet
Author: User
Flash2jpeg Service-side components
Author: Bubble Dragon
Home: Sunshine World (Http://www.suncn.net)
Mail:feisty#21cn.com
System requirements: Already an Flash Player components (can be downloaded in http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash)
Installation method: RegSvr32 {path}\suncn.dll
2.asp
<%
'//*********** started ***********
'//author:allen
'//last update date:2004/12/24
'//Set the path where Flash is located
Source=server.mappath ("/flash/test.swf")
'//Set flash thumbnail output path
Target=server.mappath ("/flash/test.jpg")
'//Establish an instance
Set flash2jpeg = Server.CreateObject ("Suncn.flash2jpeg")
'//Generate thumbnails
Call Flash2jpeg.flash2jpeg (Source,120,90,target)
'//Logoff instance
Set flash2jpeg=nothing
'//*********** End ***********
%>
3.delphi usage
Procedure Tform1.button1click (Sender:tobject);
Var
M:olevariant;
Begin
M: = Createoleobject (' suncn.flash2jpeg ');
M.flashframe2jpeg (' d:\banner.swf ', ","), "D:\test10.bmp", "10";
End
Update
2004/12/28 Add Flashframe2jpeg function to support the capture of specified Zhen
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.