ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 ImageEnMView
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

zerob

148 Posts

Posted - May 31 2014 :  09:48:40  Show Profile  Reply
Is it possible to make ImageEnMView more performant while scrolling?
Even if i set the threadpool to 6-12 on a 6 core 12 thread machine, it freezes for a few seconds when displaying many images or when i scrolled up fast and scrolling is really slow. Isn't it possible to make scrolling independent of image loading, so the control scrolls smooth no matter how slow the thumbs actually load? The folders contain about 20000 - 100000 images...
ImageEnMView1.StoreType := ietFastThumb; // tried fastthumb, thumb and normal
ImageEnMView1.ThumbnailResampleFilter := hyiedefs.rfNone;// set to none to see if it gets faster
ImageEnMView1.ThumbnailDisplayFilter := hyiedefs.rfNone; // set to none to see if it gets faster
ImageEnMView1.MaintainInvisibleImages := -1; // tried 0 and -1 and 15
ImageEnMView1.ThreadPoolSize := 10; // tried 2-12 threads
ImageEnMView1.LookAhead := 100; // tried 10-200 and even 50000 with no difference
ImageEnMView1.ImageCacheSize := 50000; //tried 50- 50000 with no difference
ImageEnMView1.HorizBorder := 0;
ImageEnMView1.EnableImageCaching := True;
ImageEnMView1.EnableLoadEXIFThumbnails := True;
ImageEnMView1.EnableAlphaChannel := False;
ImageEnMView1.ImageCacheUseDisk := True; // tried with or without disk caching
ImageEnMView1.FillFromDirectory('c:\mybigfolder\');

zerob

148 Posts

Posted - May 31 2014 :  11:17:25  Show Profile  Reply
I also saw that this freezes the whole GUI if i set the "LoadOnDemand" option to false.
Why would it do this, when it already uses Threads to load the images?


ImageEnMView1.FillFromDirectory('C:\mybigfolder\',-1,False,'',False,'',False,False);
Go to Top of Page

xequte

38517 Posts

Posted - Jun 02 2014 :  21:57:36  Show Profile  Reply
Hi

The display of ImageEnMView can be a bit hesitant while the images are loading, which will be much more noticeable with folders as large as you describe.

But for a coming update we will investigate what can be improved here.



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

xequte

38517 Posts

Posted - Jun 10 2014 :  14:01:41  Show Profile  Reply
Hi

We have noticed that the option ietxShowIconWhileLoading of ThumbnailOptionsEx can be a performance drag with large folders of large images. We will have a fix for this in 5.1.2.



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: