存储图象时的问题,仿佛很简单,偏偏不知道 对,Tgraphic是抽象类,不可以这么用 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 还是将Graphic:Tgraphic;Graphic:=TGraphic.Create;换成Bitmap:TBitmap;Bitmap:=Tbitmap.Create 吧 为什么有许多解答图象储存问题的贴子都这么写?我要存的是JPG格式,bitmap怕是不行吧 有jpg的图形类,你看看帮助旧知道了 var pic: TPicturebregin pic := TPicture.create; pic.loadfronfile('c:\pic\*.*');end;应该能搞定 use jpeg;var Image: TImage;begin Image := TImage.Create(nil); try Image.LoadFromFile(....);.... finally Image.Free; end;end; 根据窗体名获得相关两个信息 delphi 如何调用 无返回值的 dll文件 关于文件下载的 函数返回数组怎么调用啊? 各位高手帮忙看看这个SQL语句怎么写?表结构是浪潮的,不知道应该怎样用DELPHI实现以下功能?保证给分! 请问如何在一张纸上打印多条(超过1页)数据? 我怎么在Delphi7中找不到报表控件! 如何给一个遍历出来的组件的某一属性赋值? 不知各地ADSL收费是多少? 有谁有raize 2.52的serial number +++++三层系统中,执行update语句,出现了“灾难性错误”何解?+++++ 救我啊,关于 sendMessage的问题
Graphic:Tgraphic;Graphic:=TGraphic.Create;
换成
Bitmap:TBitmap;Bitmap:=Tbitmap.Create
吧
pic: TPicture
bregin
pic := TPicture.create;
pic.loadfronfile('c:\pic\*.*');
end;应该能搞定
var
Image: TImage;
begin
Image := TImage.Create(nil);
try
Image.LoadFromFile(....);
....
finally
Image.Free;
end;
end;