社区
ASP
帖子详情
谁有shotgraph的3.0或2.5的注册码呀?
xiaoshuguaiguai
2003-07-03 11:36:47
谢谢,
...全文
53
4
打赏
收藏
谁有shotgraph的3.0或2.5的注册码呀?
谢谢,
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
4 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
xiaoshuguaiguai
2003-07-05
打赏
举报
回复
以前那么多人找这个,有没有找到的呢,
lqflsh
2003-07-03
打赏
举报
回复
是做动画图的。
zykj_2000
2003-07-03
打赏
举报
回复
连google上也搜不到,看来是没有戏了
xiaoshuguaiguai
2003-07-03
打赏
举报
回复
难道真的没有吗?
shot
graph
图表组件-免费版
shot
graph
图表组件 This software is shareware, but you can copy and use the unregistered version for free (for non-commercial usage only). The free (unregistered) copy of
Shot
Graph
has the following limitations: - the maximal picture size is 320x240. - the maximal number of colors is 8. - the 'BuildPalette' method is not implemented. - the 'ApplyPalette' method is not implemented. - the 'WebPalette' method is not available. - the 'ReadImage' method is not implemented. - the 'ChangePaletteSize' method is not implemented. - the 'TrackLoop' method is not implemented. - the maximal image size for JPEG saving is 200x200
Shot
Graph
图象组件实用方便
Shot
Graph
图象组件便于用户的使用,这里统一整理里 放这给大家看看
ASP验证码组件
Shot
Graph
这个组建已经不太好找了,以前在国外网站上下载到的! 共享给大家! 大家经常在网上登陆的时候经常会看到让你输入验证码,有的是文字的,有的呢是图片,比如chinaren.com校友录中留言的时候,我们就会看到数字图片验证码;网上关于数字文字验证码实现方法的相关资料很多,而我们这里介绍的是数字和字母随机组成的并且生成图片的验证码的实现方法。看起来很复杂、其实很简单的,大家跟着我往下看: 首先,我们先介绍一下设计思路,数字和字母的随机组合生成验证码,然后将验证码生成图片,这里“数字和字母的组合”应该是随机取出来的;如果是专门的数字验证码,我们可以这样实现: ycodenum=4 '验证码的位数,或者说成个数 for i=1 to ycodenum Randomize '初始化随机数发生器 ycode=ycode&Int((9*Rnd)) 'rnd是随机数,从0到1之间的任意实数,这里获得0到9之间的整数 next response.write ycode '就可以输出数字验证码(4位) 然而,我们要让数字和字母同样随机生成,这里我们可以用到数组来实现这种效果,如下: ychar="0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z" '将数字和大写字母组成一个字符串 yc=split(char,",") '将字符串生成数组 ycodenum=4 for i=1 to ycodenum Randomize ycode=ycode&yc(Int((35*Rnd))) '数组一般从0开始读取,所以这里为35*Rnd next response.write ycode 现在看看输出结果是不是数字和字母随机组合的呢? 下面看看怎样生成图片,这个也许有些朋友知道:asp不能生成图片,必须使用asp组件。不错,我们这里使用的是ASP图象组件
shot
graph
。有一点大家注意,服务器不是自己的不能用哦,因为你装不了这组件。 我们看看生成图片的代码: ychar="0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z" '将数字和大写字母组成一个字符串 yc=split(char,",") '将字符串生成数组 ycodenum=4 for i=1 to ycodenum Randomize ycode=ycode&yc(Int((35*Rnd))) '数组一般从0开始读取,所以这里为35*Rnd next Response.Clear Response.ContentType="image/gif" set obj=Server.CreateObject("
shot
graph
.image") x=55 '图片的宽 y=26 '图片的高 obj.CreateImage x,y,8 '8是图片的颜色8位 obj.SetColor 0,55,126,222 obj.SetColor 1,255,255,255 obj.CreatePen "PS_SOLID",1,0 obj.SetBgColor 0 obj.Rectangle 0,0,x-1,y-1 obj.SetBkMode "TRANSPARENT" obj.CreateFont "Arial",136,18,1,False,False,False,False obj.SetTextColor 1 obj.TextOut 5,4,ycode&" " img=obj.GifImage(-1,1,"") Response.BinaryWrite (img)
类似
Shot
Graph
的绘图组件Web
Graph
自己开发的类似
Shot
Graph
的绘图组件,实现大多数
Shot
Graph
组件中的绘图和图形输出功能,接口基本保持一致,除了颜色设置。
Shot
Graph
中需要SetColor进行颜色预设,Web
Graph
中涉及颜色直接传入颜色值,其他的基本无差别,包括创建和调用方法。
<% Response.ContentType="image/gif" Set obj = Server.CreateObject("Web
Graph
.wImage") Size = 201 obj.CreateImage Size, Size ' obj.SetColor 0, 255, 255, 255 ' obj.SetColor 1, 0, 0, 0 ' obj.SetColor 2, 255, 108, 0 ' obj.SetColor 3, 0, 0, 204 obj.SetBgColor RGB(128, 128, 128) obj.FillRect 0, 0, Size - 1, Size - 1 obj.SetDrawColor RGB(255, 0, 0) obj.vbLine Size - 1, 0, 0, Size - 1 obj.SetBgColor RGB(255, 108, 0) obj.Ellipse 5, 5, Size - 6, Size - 6 obj.SetBgColor RGB(0, 0, 204) obj.Ellipse 5, (Size - 5) / 4, Size / 2, (Size - 5) * 3 / 4 ' img = obj.jpegImage(90, 0, "e:/abc.jpg") ' img = obj.jpegImage(90, 0, "") ' img = obj.bmpImage(True, "e:/abc.bmp") ' img = obj.bmpImage(True, "") img = obj.gifImage(-1, 0, "") Response.BinaryWrite img %>
asp图片验证码
网上收集的,asp图片验证码,分享给大家.
Shot
Graph
version
2.5
README.TXT file
==================================================
Thank you for downloading and usage of
Shot
Graph
.
It's time to add some dymanic
graph
ics to your Internet and intranet applications...
This software is shareware, but you can copy and use the unregistered version for free.
The free (unregistered) copy of
Shot
Graph
has the following limitations:
- the maximal picture size is 320x240.
- the maximal number of colors is 8.
- the 'BuildPalette' method is not implemented.
- the 'WebPalette' method is not available.
- the 'ReadImage' method is not implemented.
- the 'ChangePaletteSize' method is not implemented.
- the 'TrackLoop' method is not implemented.
- the maximal image size for JPEG saving is 200x200
ASP
28,390
社区成员
357,068
社区内容
发帖
与我相关
我的任务
ASP
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
复制链接
扫一扫
分享
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章