Welcome Guest! To enable all features, please Login or Register.



Last Go to last post Unread Go to first unread post
#1 Posted : Tuesday, January 26, 2010 5:29:40 AM(UTC)

Adam Boulad  

Groups: Guests
Posts: 3,022

Was thanked: 2 time(s) in 2 post(s)

If you try to load all the full-size pages of a multi-page file (such as TIFF) into our image list control, the time and memory needed will increase dramatically as the number of pages increase.
The attached LEADTOOLS 16.5 C# project optimizes the process by performing the following steps:

1. It only loads small resized thumbs in the list instead of full images, with only one full-size image loaded into the RasterImageViewer control.
2. It allocates empty list items for all images, but only loads thumbnails for the items that are actually displayed.
3. If the user scrolls to change the visible items, new thumbnails are generated as needed.
4. If the user changes the currently selected list item, the full-size image will be loaded.
File Attachment(s):
MultipageList.zip (10kb) downloaded 81 time(s).

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.060 seconds.