View Issue Details

IDProjectCategoryView StatusLast Update
0002566Slicer4Core: Base Codepublic2012-12-08 09:42
Reporterinorton Assigned Toalexy  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version 
Target VersionSlicer 4.2.0Fixed in VersionSlicer 4.2.0 
Summary0002566: PNG writer fails
Description

Trying to save a scene which includes the file "3-1_2_flipped.png", get the following error:

"""
ERROR: In ........\Slicer-1\Libs\vtkITK\vtkITKImageWriter.cxx, line 480
vtkITKImageWriter (000000001CE759B0): Can only export 1 or 3 component images

ERROR: In ........\Slicer-1\Libs\vtkITK\vtkITKImageWriter.cxx, line 480
vtkITKImageWriter (000000001CE759B0): Can only export 1 or 3 component images
"""

Additional Information

Example data:
http://slicer.kitware.com/midas3/download?items=8465

will need to load the file "3-1_2_flipped.png" manually from the directory, I don't think it is in the mrml file because of this error.

TagsNo tags attached.

Activities

pieper

pieper

2012-10-02 13:33

administrator   ~0006348

Probably just need to add a new template option for 4 component image data.

alexy

alexy

2012-10-12 05:56

developer   ~0006508

Added code to vtkITKImageWriter to handle 4-component vector.
revision: 21163

Issue History

Date Modified Username Field Change
2012-09-25 08:20 inorton New Issue
2012-09-25 08:20 inorton Status new => assigned
2012-09-25 08:20 inorton Assigned To => pieper
2012-10-02 13:33 pieper Assigned To pieper => alexy
2012-10-02 13:33 pieper Note Added: 0006348
2012-10-12 05:56 alexy Note Added: 0006508
2012-10-12 05:56 alexy Status assigned => resolved
2012-10-12 05:56 alexy Resolution open => fixed
2012-10-25 13:43 inorton Status resolved => closed
2012-10-25 13:43 inorton Fixed in Version => Slicer 4.2.0 - coming release
2012-12-08 09:42 jcfr Target Version => Slicer 4.2.0