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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 ImageEnMView

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
zerob Posted - May 31 2014 : 09:48:40
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\');
3   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Jun 10 2014 : 14:01:41
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
xequte Posted - Jun 02 2014 : 21:57:36
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
zerob Posted - May 31 2014 : 11:17:25
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);