Note: You must be registered in order to post a reply. To register, click here. Registration is FREE!
T O P I C R E V I E W
eballinas
Posted - Oct 14 2022 : 13:44:49 When I run this procedure, the image in the database has 4 images. It is only giving me 1 image. What am I doing wrong?
procedure TfrmObras.DocumentosdeObrasTbAfterOpen(DataSet: TDataSet);
var
flujo:tstream;
begin
if not documentosdeobrastb.IsEmpty then
try
lasfotos.clear;
flujo:=tmemorystream.Create;
flujo:=documentosdeobrastb.CreateBlobStream(DocumentosdeObrasTbIMAGENDELDOCUMENTO,bmRead);
flujo.position:=0;
lasfotos.mio.LoadFromStreamTIFF(flujo);
finally
flujo.Free;
end;
end;
3 L A T E S T R E P L I E S (Newest First)
xequte
Posted - Oct 16 2022 : 20:35:13 And if you load the saved file using: lasfotos.mio.LoadFromFileTIFF(...); do you still only get one page?