Thanks for the help.
I have a question about the way I am implementing loading Tifs.
It is now loading images but the FitToWidth only works after the first image is loaded. I have not been able to find a place in my code to get it to be recognized with the first image. Any thoughts on that?
I am using the following code:
procedure TfrmTIFViewer.tbScanAfterScroll(DataSet: TDataSet);
Var
BlobStream : TStream;
BlobField : TBlobField;
begin
try
BlobField := tbScan.FieldByName('FullImage') as TBlobField;
BlobStream := tbScan.CreateBlobStream(BlobField, bmRead);
ImageEnDBVect1.IO.LoadFromStreamTIFF(BlobStream);
ImageEnDBVect1.FitToWidth;
ImageEnDBVect1.IO.Update;
finally
BlobStream.Free;
end;
end;
Thanks