[Insight-developers] Two (big?) problems with itkTIFFImageIO.cxx

Zachary Pincus zpincus at stanford.edu
Thu Jul 14 15:28:31 EDT 2005


>> Someone else really ought to look into the latter issue of why  
>> images  for which TIFFReaderInternal::CanRead() returns false are  
>> still read  in, incorrectly, as RGBA images. I suspect this has to  
>> do with  calling TIFFReadRGBAImage() with the parameter  
>> "stopOnError" set to  zero, which from the man page, appears to  
>> disable the ability of this  function to signal that an image is  
>> not an RGBA TIFF by returning  zero. Is there a *reason*  
>> TIFFReadRGBAImage was called in this way?
>>
>>
>
> Please submit this as a bug report:
>
> http://www.itk.org
>


It's bug 2050:
http://www.itk.org/Bug/bug.php?op=show&bugid=2050&pos=0
I put some discussion of the a 'proper' way to deal with this in the  
bug report.

Zach



More information about the Insight-developers mailing list