怎样在网页中显示WMF(EMF)文件

aflash 2002-06-14 07:05:42
我想在网页中显示WMF(EMF)文件,但不知道怎么做,请高手指点一下
(请不要告诉我先把WMF(EMF)转换成JPG,再在网页中显示.)
...全文
816 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
saucer 2002-06-15
  • 打赏
  • 举报
回复
according to MSDN documetation, in IE5 and above, IMG tag support WMF files (http://msdn.microsoft.com/workshop/author/dhtml/reference/objects/img.asp?frame=true):


The following image and video file formats are supported as of Internet Explorer 5.

.avi—Audio-Visual Interleaved (AVI)
.bmp—Windows Bitmap (BMP)
.emf—Windows Enhanced Metafile (EMF)
.gif—Graphics Interchange Format (GIF)
.jpg, .jpeg—Joint Photographic Experts Group (JPEG)
.mov—Apple QuickTime Movie (MOV)
.mpg, .mpeg—Motion Picture Experts Group (MPEG)
.png—Portable Network Graphics (PNG)
.wmf—Windows Metafile (WMF)
.xbm—X Bitmap (XBM)


or use the image control in isctrls.ocx, for example:

<img src="SATEDISH.WMF">


<OBJECT ID="Image1" style="width:100%; height:75mm; border:thin solid"
CLASSID="CLSID:D4A97620-8E8F-11CF-93CD-00AA00C08FDF">
<PARAM NAME="PicturePath" VALUE="SATEDISH.WMF">
<PARAM NAME="BorderStyle" VALUE="0">
<PARAM NAME="SizeMode" VALUE="3">
<PARAM NAME="Size" VALUE="2540;2540">
<PARAM NAME="PictureAlignment" VALUE="0">
<PARAM NAME="VariousPropertyBits" VALUE="19">
</OBJECT>

aflash 2002-06-14
  • 打赏
  • 举报
回复
知道我插件的下载地址也行,帮帮吧!!!!!!!
zhpfaff 2002-06-14
  • 打赏
  • 举报
回复
浏览器不支持这个格式,所以只有转换了,要不你还能让用户下载插件不成

87,910

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 JavaScript
社区管理员
  • JavaScript
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧