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
 Best way to preload images, lookup, display 1 only

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
andyhill Posted - Apr 21 2016 : 17:17:50
I have a need to pre-load many images and within a mouse move event locate a specific image and display.

Obviously there are many ways to accomplish this but what I am after is the most time efficient way to accomplish as this process will be called on each mouse move event many times over and speed is of the essence.

Thanks in advance.

Andy
1   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Apr 26 2016 : 00:19:56
Hi Andy

Even loading one image during a mouse move event would drastically affect your performance. Are you sure there is not a better way to handle what you need (such as preloading all the images on form loading, preferably with some kind of caching...)

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com