Open GoogleCodeExporter opened 8 years ago
Got this error. However not sure how to fix it. Here is what MSDN says:
http://msdn.microsoft.com/en-us/library/3z132tat.aspx
However debugger shows that pixel format is specified correctly. So MS does not
tell something as usual.
I've reproduced the issue by running a long loop which calls both
FromManagedImage() and ToManagedImage() without deposing temp images. And
finally the exception was raised. So maybe it is raised not only on bad pixel
format, but also when system runs out of memory.
Did you check your application that it disposes all temporary images and its
memory usage does not grow?
Original comment by andrew.k...@gmail.com
on 21 Dec 2010 at 3:10
Hey, yeah memory usage is stable. I have 12 gig of ram, app doesn't go over
400mb.
Original comment by ad...@activeunlimited.com
on 21 Dec 2010 at 11:38
Original issue reported on code.google.com by
ad...@activeunlimited.com
on 18 Dec 2010 at 2:32