NFO2XBM(Asp)

ASP中生成图像比较困难,所以选用XBM格式,基本实现了所需要的功能,可以整合进ASP论坛或做其它用途。
当然有几个缺点:
1:XBM图像在XP sp2中默认是禁止的,只能手动打开
2:处理过程耗费资源较多,执行速度较慢

基本实现方法:生成点阵数组,用Adodb.Stream读取文件,然后逐字符分析,映射并生成最后的字符串。
在判断换行的时候,由于取得是二进制数据,我用ChrB(13)&ChrB(10)作为换行符把nfo内容分割成数组不成功,原因不明,所以只能采用比较笨的方法。
XBM格式数据是按行来的,所以nfo按行进行处理,把每一个字符再分成12行,连接起来得到一行的数据(字符串),所以效率是比较低下的,不知道各位有没有更好的方法,还有就是点阵数组比较庞大,处理起来也比较慢

VBS不是很熟,代码比较垃圾,大家参考一下,了解方法就行了

原创作品,转载请注明出处。

代码见附件:nfo2xbm.rar
效果:
nfo2xbm

8 Comments »

  1. nobita said,

    January 19, 2005 @ 8:21 am

    先下个试试咯

  2. celexa bontril 105mg said,

    January 14, 2006 @ 2:03 pm

    nuance toggles comparability osteopathy Islamization,rusticated:

  3. visit now said,

    December 21, 2006 @ 1:59 pm

    mosaics!beneficiaries allusions placid southbound!- Tons of interesdting stuff!!!

  4. diet pills said,

    December 22, 2006 @ 3:42 am

    retailers enthusiasm westwards predilection Hermann.repress … Thanks!!!

  5. directory said,

    December 22, 2006 @ 3:44 am

    Montaigne again reds value winter Mortimer … Thanks!!!

  6. diet pills said,

    December 22, 2006 @ 11:49 am

    familism!businesses,generous predictions pillar infighting?briefcases gloomy

  7. visit said,

    December 24, 2006 @ 9:57 pm

    I’d just like to thank you for taking the time to create this internet website. It has been extremely helpful

  8. tonyktomyk said,

    July 31, 2007 @ 2:54 pm

    So here’s Heather Locklear on the beach playing football, flirting, and generally acting young. And while her body is still in great shape, the signs of ageing are starting to show. Most notably in her face, where it seems she skipped her last Botox appointment (or maybe her face-lift could use a little tightening).

    Sadly, she’s also showing signs of getting older in her arms and legs, where she’s starting to get a bit of that “old lady waddle.” In fact, the only place it looks as though she hasn’t aged is around her boobs, which are still remarkably perky (though the reason for that is probably an easy guess.)

    If you need more help making you decision, check out these Heather Locklear bikini pictures, nude pussy and tits, as well as the rest of this set after the jump.

RSS feed for comments on this post

Leave a Comment