摘要: 图片保存到库中 1 procedure TForm1.Savebmp; 2 var 3 MyStm:TMemoryStream; 4 Jpg:TjpegImage; 5 begin 6 MyStm:=TMemoryStream.Create; 7 jpg:=TJPEGImage.Create; 8 Jpg.Assign(cxImage1.Picture.Graphic); 9 Jpg.SaveToStream(MyStm);10 MyStm.Position:=0;11 ADOQuery1.Edit;12 TBlobField(ADOQuery1.Field... 阅读全文
posted @ 2012-12-23 14:57 幻劫 阅读(334) 评论(0) 推荐(0) 编辑