CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Threaded View

  1. #1
    Join Date
    Jun 2009
    Posts
    6

    WPF Image list viewer problem

    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,
    Last edited by cebugdev; June 15th, 2009 at 05:02 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured