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
 Loading thumbs asynchronously in ImageEnMView
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

lcd877

2 Posts

Posted - Aug 16 2011 :  13:39:12  Show Profile  Reply
Hi,

I am using ImageEnMView to display thumbnail previews of images. Currently, the thumbnails are loading in the main thread, which may take some time when loading several large images.

Is there a way to configure ImageEnMView to load the images asynchronously?

Thanks

fab

1310 Posts

Posted - Aug 16 2011 :  22:31:23  Show Profile  Reply
Hi,
if you fill TImageEnMView with FillFromDirectory or you assign file names manually with ImageFileName[] property then ImageEn will use a pool of threads in order to load thumbnails. It is not necessary to configure TImageEnMView to load the images asynchronously.

You can fine-tune threads usage with LookAhead and ThreadPoolSize, and check threads works with JobsRunning and JobsWaiting.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: