vtkPNGWriter and vtkJPEGWriter: Heap corruption when writing to memory
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
When writing the contents of the offscreen-renderer to memory, in about 50% of the times, I get this error:
"Heap corruption detected. CRT detected that the application wrote to memory after end of heap buffer."
Setup: Win7, Visual Studio 2010, debug or release Win32 Code: OffScreenRendering.cxx from examples, with some extra lines (see attachment)