View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0003674 | VTK | (No Category) | public | 2006-08-30 11:16 | 2011-01-13 17:00 | ||||
Reporter | Carsten.Bellon | ||||||||
Assigned To | Mathieu Malaterre | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0003674: writing grayscale TIFFs | ||||||||
Description | grayscale TIFFs (just one scalar component) written by vtkTIFFWriter get the photometric tag 'RGB' if data type differs from FLOAT. This prevents compatibility with certain programs (i.g. Windows preview, PaintShopPro). My fix in vtkTIFFWriter.cxx: from: uint16 photometric = (stype == VTK_FLOAT ? PHOTOMETRIC_MINISBLACK : PHOTOMETRIC_RGB); to: uint16 photometric = (scomponents == 1 ? PHOTOMETRIC_MINISBLACK : PHOTOMETRIC_RGB); | ||||||||
Tags | No tags attached. | ||||||||
Project | |||||||||
Type | |||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0004938) Mathieu Malaterre (developer) 2006-09-16 11:26 |
Fixed on CVS and VTK5 branch. Thanks for patch ! $ cvs ci -m"BUG: Fix Bug 0003674 - writing grayscale TIFFs. Backport to VTK5" IO/vtkTIFFWriter.cxx /cvsroot/VTK/VTK/IO/vtkTIFFWriter.cxx,v <-- vtkTIFFWriter.cxx new revision: 1.39.6.1; previous revision: 1.39 $ cvs ci -m"BUG: Fix Bug 0003674 - writing grayscale TIFFs" IO/vtkTIFFWriter.cxx /cvsroot/VTK/VTK/IO/vtkTIFFWriter.cxx,v <-- vtkTIFFWriter.cxx new revision: 1.41; previous revision: 1.40 |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2011-01-13 17:00 | Source_changeset_attached | => VTK master a2bd8391 | |
2011-01-13 17:00 | Source_changeset_attached | => VTK master 020ef709 | |
2011-06-16 13:11 | Zack Galbreath | Category | => (No Category) |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |