关于用Pegasus Multimedia and Imaging Suite将图片.jpg转换成.lib的问题

YuLimin 2003-09-13 11:19:21
Pegasus Multimedia and Imaging Suite里面有个例子:
X:\Program Files\PegasusSoftware\SuiteFacev20\VBLib\LibDemo.Vbp

在LibDemo.frm当中有
RivetLib1.LibraryFile = mAppPath & "LibDemo.lib"
但是找不到.lib文件,如何进行转换生成.lib文件呢?
谢谢!
...全文
113 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
YuLimin 2003-09-14
  • 打赏
  • 举报
回复
自己搞定
做法:
1、建立一个文件文本性质的文件Build.BLD
输入你的图片信息
"组名Group","对象名Object","YourPictureFileName.jpg"
......
......

2、运行RivetBld.exe,在X:\Program Files\PegasusSoftware\SuiteFacev20目录下
然后点File===>Build===>选择刚上面Build.BLD文件===>选择生成的目标文件===>Build.lib

3、即可生成了。。。

4、在VB中引用即可。
YuLimin 2003-09-14
  • 打赏
  • 举报
回复
自身工具里面的帮助内容为:
RivetLib Control
Description The Rivet Library is designed as a loading point for any form or data required by another Rivet control. Using this control you can bundle together the graphic and text files associated with an application into one physical library file. Objects within the file are stored in groups with each group having its own name. To optimize run-time loading performance an entire group can be loaded at once (see the Preload property). This greatly improves performance, for example, if the application is to be distributed on CD-ROM. This feature is demonstrated in the SAMP24 sample application.

The RivetLib control supports three image formats. This is in contrast to using the FrameFile property of other controls which supports six image formats. The three types were chosen to optimize performance. They are: uncompressed .BMP, .GIF, and .JPG.

The RivetLib also supports three types of document files for the RivetText control. They are: straight ASCII (.TXT), rich text (.RTF), and the Rivet Bundle Format (.BND). ASCII or RTF files can be converted to BND files to improve load time performance.

The use of this library is not limited to Rivet controls however. When an object is loaded you get a handle to the object, which can be used anywhere.
YuLimin 2003-09-14
  • 打赏
  • 举报
回复
我想这套工具当中应当有转成.Lib的文件,但是我找了半天也没有找到

其它方面的工具不知道有没有将JPG文件转成.Lib文件的呢?
geniusoft 2003-09-14
  • 打赏
  • 举报
回复
不清楚呵
YuLimin 2003-09-14
  • 打赏
  • 举报
回复
有没有哪位兄弟用过这套工具的,请告诉我一下好吧,找了半天没有找到啊!

1,451

社区成员

发帖
与我相关
我的任务
社区描述
VB 控件
社区管理员
  • 控件
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

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