Author |
Topic |
|
zerob
164 Posts |
Posted - Nov 29 2024 : 10:26:56
|
Hi Nigel
Is it possible to force a ImageEnMView (with PDF's or Movie Frames) or a ImageEnFolderMView with files to preload?
Right now the ImageEnMView stutters after a PDF load while scrolling, until all Pages got into view and then it scrolls smooth. LookAhead soesn't seem to solve this.
A PreloadAll or PreloadXPages(x) and / or a a complete decoupling of loading and scrolling (with placeholders) would be nice.
Having a stutterfest while scrolling a ImageEnMView with 15 pages (or sometimes much more), until all pages have been scrolled into view, isn't really nice. |
|
xequte
38619 Posts |
|
zerob
164 Posts |
Posted - Dec 01 2024 : 01:45:24
|
I connected a ImageEnMViewer to a ImageEnViewer and did load a PDF with either ImageEnView1.IO.LoadFromFilePDF or ImageEnView1.PdfViewer.LoadFromFile.
I tried without changing caching settings and then with: ImageEnView1.PdfViewer.LoadOption := TPdfDocumentLoadOption.dloMemory; ImageEnMView1.LookAhead := 50; ImageEnMView1.EnableImageCaching := True; ImageEnMView1.ImageCacheUseDisk := False;
And i set ietFastThumb, but changing it to ieThumb doesn't change anything. Even when i Load the PDF, wait 10-20 seconds and then scroll
When the PDF is loaded, i scroll the ImageEnMView and the scrollbar stutters until i scrolled down to the bottom and waited or if i don't stop scrolling, it stutters also on the way up (if i scroll up and down) and suddenly the stutter stopps and now all scrolling is smooth as butter.
It seems that ImageEnMView still loads the PDF pages only when they scroll into view and when it saw all pages, it runs smoothly.
I Imagined, when i wait for a few seconds, with LookAhead (or some magical preload function), then when i want to scroll, the ImageEnMView scrolls smoothly, without the need to scroll each Page into view (Inside of the ImageEnMView). |
|
|
xequte
38619 Posts |
Posted - Dec 01 2024 : 19:43:40
|
Sorry, can you email me for the latest beta. In that configuration changing the StoreType will not improve the performance.
Nigel Xequte Software www.imageen.com
|
|
|
|
Topic |
|
|
|