cebugdev
June 15th, 2009, 05:55 AM
hi,
Im having trouble figuring out on how to implement my Image List viewer with the following specs;
- The image viewer loads more than 1000 files but must take less memory. It is given that each files is atleast 1mb each.
Therefore loading 1000 image alone already takes 1GB of memory.
My current implementaion simply loads all images to a Listbox binded to a List of images, and this list box is inside a scrollviewer (vertical scroll). This implementation obvoiusly is using more memory since it loads all images.
My plan is to load image only if visible in the scrollviewer, if not visible then image is dereference or not loaded at all.
DO you have any idea on how to implement this type of requirement?
Thanks in advance,
Im having trouble figuring out on how to implement my Image List viewer with the following specs;
- The image viewer loads more than 1000 files but must take less memory. It is given that each files is atleast 1mb each.
Therefore loading 1000 image alone already takes 1GB of memory.
My current implementaion simply loads all images to a Listbox binded to a List of images, and this list box is inside a scrollviewer (vertical scroll). This implementation obvoiusly is using more memory since it loads all images.
My plan is to load image only if visible in the scrollviewer, if not visible then image is dereference or not loaded at all.
DO you have any idea on how to implement this type of requirement?
Thanks in advance,