Greetings,
I notice in your code sample that you force a Garbage Collection frequently and comment about 'Out of Memory' errors when calling Image.GetThummbnailImage(...);
I, too, have been having serious problems with that Out of Memory error. I tried forcing a GC (and a .Dispose() beforehand), as you did here, but it did not help. I also notice that when the method is called, the memory usage on that process skyrockets way more than the size of the Image file. Still, I have excess physical memory and yet I get these errors.
Can anyone enlighten me as to what's happening here or how to get around it? Is there a bad malloc in GDI+ or something? Is there a workaround someone has found?
I'm in a bit of a pickle until I can get this working...
Cheers