Multi-Thread Load & Display Image

Example requests & Code samples for GdPicture Toolkits.
Post Reply
Posts: 1
Joined: Tue Feb 07, 2012 7:44 pm

Multi-Thread Load & Display Image

Post by jdong » Tue Feb 07, 2012 7:53 pm


I have an application that I need to load multiple JPG images in a sequence, like playing a video. I am using a GDPictureImaging control to load it and show it in GDPictureViewer. It generally takes about 0.05 seconds to load each picture and I need to load 6 of them at the same time, and do this as fast as possible. Currently everything is in the main thread, so it is locking up the main application, making it un-responsive.

I see that the SDK is thread safe. Can someone provide some simple samples showing how to load and display images in a multi-threaded way?

Thanks a lot.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest