[vtk-developers] [VTK 0013109]: Wrong file pattern in Write() function of those vtkXXXImageWriters without setting FileName

Mantis Bug Tracker mantis at public.kitware.com
Fri Apr 20 03:58:22 EDT 2012


The following issue has been SUBMITTED. 
====================================================================== 
http://vtk.org/Bug/view.php?id=13109 
====================================================================== 
Reported By:                Zhan
Assigned To:                
====================================================================== 
Project:                    VTK
Issue ID:                   13109
Category:                   (No Category)
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     backlog
Project:                    Release 
Type:                       incorrect functionality 
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             2012-04-20 03:58 EDT
Last Modified:              2012-04-20 03:58 EDT
====================================================================== 
Summary:                    Wrong file pattern in Write() function of those
vtkXXXImageWriters without setting FileName
Description: 
In vtk's vtkImageWriter/vtkJPEGWriter/vtkPNGWriter/etc, if not setting FileName
,FilePrefix and FilePattern, it would go to the third condition to call: 

   sprintf( this->InternalFileName, this ->FilePattern,this->FileNumber);

but the default FilePattern is "%s.%d" and it can't work correctly. Checking the
FilePattern is needed, I think.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-04-20 03:58 Zhan           New Issue                                    
======================================================================




More information about the vtk-developers mailing list