Hi,
I am creating a new UserControl that has 3 PictureBox's, These three pictures show the start, middle and end frames of a video clip.
Multiple UserControls of this type will be shown in a list. So for a video of 100 clips we have 3 * 100 = 300 pictures.
My initial thought was to just use the async load of the pictureBox. However as these are potentially large jpegs, I would rather load them into memory and shrink them to fit the size of the pictureBox.
How do I do this with possibly 300+ photo's?.
I thought of using a thread per box, but then is 300+ threads possible.
Then I thought of using the thread pool, using ThreadPool.QueueUserWorkItem. Is this a valid idea.
What is the limit on the number of threads?
Would just using the pictureBox async load be OK anyway?
Regards,
John.