社区
GAME,图形处理/多媒体
帖子详情
timage问题!!
professorzhou
2003-10-20 11:15:20
if openpic.Execute then
begin
caption:='图象浏览器'+openpic.FileName;
filename:=openpic.FileName;
Image1.Picture.LoadFromFile(filename);
end;
上面代码,对于bmp文件没有事情,但是jpg就会产生异常,我该怎么解决jpg的载入啊,谢谢
...全文
49
4
打赏
收藏
timage问题!!
if openpic.Execute then begin caption:='图象浏览器'+openpic.FileName; filename:=openpic.FileName; Image1.Picture.LoadFromFile(filename); end; 上面代码,对于bmp文件没有事情,但是jpg就会产生异常,我该怎么解决jpg的载入啊,谢谢
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
4 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
professorzhou
2003-10-23
打赏
举报
回复
谢谢
大地精灵
2003-10-21
打赏
举报
回复
jpg需要用位图的来操作的,不是这样就可以了,Tbitmap吧,没记错的话
hejianling305
2003-10-21
打赏
举报
回复
支持楼上的!
YYQQ
2003-10-21
打赏
举报
回复
uses
JPeg; //加入Jpeg单元
if openpic.Execute then
begin
caption:='图象浏览器'+openpic.FileName;
filename:=openpic.FileName;
Image1.Picture.LoadFromFile(filename);
end;
这样就可以了
T
Image
组件中显示png图片
c++ GDI,C++Builder GDI,GDI,Png,Png to
Image
,T
Image
组件显示png图片
调用Dll中的T
Image
Dll封装T
Image
,在外部直接调用显示
T
Image
_delphi源码_
This source code is to demonstrate how Delphi to empty T
Image
component in the picture
T
Image
各種效果DELPHI
T
Image
各種效果DELPHI ﹐我覺得很牛的
T
image
.pdf
T
image
在编写采集程序时很有作用大家啊可以简单看看
GAME,图形处理/多媒体
1,183
社区成员
14,336
社区内容
发帖
与我相关
我的任务
GAME,图形处理/多媒体
Delphi GAME,图形处理/多媒体
复制链接
扫一扫
分享
社区描述
Delphi GAME,图形处理/多媒体
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章