Hi All,

I would like to seek you expert advice.

I would like to create an image viewer with a capability to view thumbnails or a film strip like images. I had search in google and found some idea, but upon trying it with about 100+ images the system thrown an error "Out of memory".

Does anyone has an idea on creating/developing this type of library?

Thank you in advance.

It would help if your showed the code that you are using.

At this point I can only guess that the method you are using calls Image.FromFile followed by Image.GetThumbnailImage and is not properly releasing the GDI resources.

If this is the case, take a look at this: Load Image From File and Release File

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.