<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
<font color="#000000">Hi, <br>
<br>
My call to vtkPNGWriter.Write() fails due to insufficient memory when I
try to write very large images. This function doesn't return anything.
Is there a way to trap/catch the error? <br>
<br>
Can I do this using the vtk Java Wrapper?<br>
<br>
Here's another similar question:<br>
In the source code for vtkPNGWriter.Write(), <br>
There is a line:<br>
</font><font color="#000000">if (this->ErrorCode ==
vtkErrorCode::OutOfDiskSpaceError)<br>
<br>
Is this Error code and the constant </font><font color="#000000">tkErrorCode::OutOfDiskSpaceError
available in the vtk Java Wrapper?<br>
<br>
I'd like to check for this error condition, too. <br>
<br>
</font><font color="#000000"></font>
<div class="moz-signature"><font color="#000000">Thanks,<br>
<b>~John</b><br>
<br>
</font> <a href="http://www.cd-adapco.com"><br>
</a></div>
</body>
</html>