rave怎样支持jpg格式的字段?

shaver 2003-10-20 10:34:40
含有jpg格式的数据需要输出到rave打印(系统需要穿过Internet,所以不可以用bmp格式),但好像rave的Bitmap只支持bmp格式。
rave的帮助中提到在TRvSystem的OnDecodeImage事件中用代码转换,但我发现这个事件好像根本不会触发。
...全文
100 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
qxj 2003-10-21
  • 打赏
  • 举报
回复
需要加一个补丁,
问题16:打印JPEG

法一:在RAVE上增加JPEG控件

Bitmap components can only display bitmaps, not jpegs. You'll need the jpeg

add-on that's available from the Nevrona web site,

http://www.nevrona.com/rave/addons.shtml.



Installation instructions for TRaveJPEGImage

--------------------------------------------



1: Extract the files in this archive in your Rave main directory

(normally d:\RAVE5). Make sure to expand with directories so that the source

will be placed in it's own directory.



2: Copy the NDCsJPEG.PAS file into the appropriate directory for the version

of Delphi or C++Builder that you are using (for Delphi 6.0 it would normally

be d:\RAVE5\D6).



3: Start Rave, go to the preferences dialog (Edit|Preferences), select the

Packages tab and add the D:\RAVE5\ND_JPEG.BPL package file to the list of

installed package and click OK.



法二,程序中控制,具体参照//www.nevrona.com/rave/tips/rvtip31.html


http://search.csdn.net/expert/topic/53/5311/2003/5/6/1743788.htm

5,388

社区成员

发帖
与我相关
我的任务
社区描述
Delphi 开发及应用
社区管理员
  • VCL组件开发及应用社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

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