添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
Please, does anybody know how to solve this error ? I'm trying to load a jpeg image from Oracle table 8i. procedure TForm1.Button1Click(Sender: TObject); MemStrm: TMemoryStream; Usally this is a simple out of memory error caused by a invalid jpeg image. In your case since you   are trying to save it from a table read from a Oracle table i would think that the problem is in   your Table1Foto.SaveToStream(MemStrm); code since you do not specify the field name but are   atempting to save the whole table to the stream which ends up not being a valid jpeg image.   Dennis Passmore I think I got this error ages ago and it turned out that the JPEG was saved   as a CMYK format. The jpeg.pas that ships with Delphi 7 can't handle that   format. There's a jpegex.pas available on CodeCentral or BDN (the provider's