1 var
 2 bmp :TMemoryStream ;
 3 begin
 4 inherited;
 5 bmp := TMemoryStream.Create ;
 6 Image2.Picture.Graphic.SaveToStream(bmp);
 7 bmp.Position := 0;
 8 Image1.Picture.Graphic := TJPEGImage.Create ;
 9 Image1.Picture.Graphic.LoadFromStream(bmp);
10 bmp.Free ;
11 end;

 

posted on 2016-06-01 10:56  delphi老中医  阅读(613)  评论(0编辑  收藏  举报