T O P I C R E V I E W |
More-Majorum |
Posted - Mar 13 2023 : 05:19:37 Good morning,
I created a procedure to generate the thumbnails of the disk cache (this avoids the slowdown during the first visualization). The problem is that it's not very fast, and besides, it looks more like DIY than anything else.
I assume there is a function to do this much better than I did, but I couldn't find.
procedure TForm1.cachecreation; var i : integer; begin ProgressBar1.Max := folder1.ImageCount -1; for i := 0 to folder1.imagecount - 1 do begin folder1.Seek(ieioSeekNext); ProgressBar1.Position := ProgressBar1.Position +1; application.ProcessMessages; end; folder1.Seek(ieioSeekFirst); ProgressBar1.Position := 0; end; |
2 L A T E S T R E P L I E S (Newest First) |
More-Majorum |
Posted - Mar 15 2023 : 01:15:52 Thank you for your reply.
While waiting for something more efficient, I would therefore content myself with my DIY. |
xequte |
Posted - Mar 14 2023 : 23:27:49 Hi
I'm afraid there is no easy way to pre-fill the disk cache. I will look into that for a future version.
Nigel Xequte Software www.imageen.com
|
|
|