电脑爱好者,提供IT资讯信息及各类编程知识文章介绍,欢迎大家来本站学习电脑知识。 最近更新 | 联系我们 RSS订阅本站最新文章
电脑爱好者
站内搜索: 
当前位置:首页>> Asp>>用AspJpeg组件进行图片合并代码:

用AspJpeg组件进行图片合并代码

来源:网络 | 2007-4-23 | (有3737人读过)

AspJpeg 1.3+英文介绍:AspJpeg 1.3+ enables you to place images on top of each other via 
the method DrawImage. To use this method, you must create two instances of 
the AspJpeg objects and populate both of them with images via calls to Open
 (or OpenBinary). When calling Canvas.DrawImage, the 2nd instance of AspJpeg 
is passed as an argument to this method, along with the X and Y offsets (in pixels):

进行图片合介绍:
使用该方法,您必需创建两个AspJpeg实例对象 
<% 
Set Jpeg1 = Server.CreateObject("Persits.Jpeg") 
Set Jpeg2 = Server.CreateObject("Persits.Jpeg") 
Jpeg1.Open Server.MapPath("t.jpg") 
Jpeg2.Open Server.MapPath("t1.jpg") 
Jpeg1.Canvas.DrawImage 10, 10, Jpeg2 ’ optional arguments omitted 
jpeg1.save Server.mappath("tt.jpg") 
%> 
Asp热门文章排行
网站赞助商
购买此位置

 

关于我们 | 网站地图 | 文档一览 | 友情链接| 联系我们

Copyright © 2003-2024 电脑爱好者 版权所有 备案号:鲁ICP备09059398号