[Insight-users] tiff file reader warning

Bill Lorensen bill.lorensen at gmail.com
Thu Apr 9 16:36:25 EDT 2009


libtiff provides a mechanism to suppress warnings. We could add a new
method to TIFFImageIO::SuppressTIFFWarningsOn()/SuppressWarningsOff().

Please add a feature request to the bug tracker following the procedure at:

http://www.itk.org/Wiki/ITK_Procedure_for_Contributing_Bug_Fixes

Bill

On Thu, Apr 9, 2009 at 3:49 PM, C.Cagatay Bilgin <bilgic at cs.rpi.edu> wrote:
> These are 3d images, I tried them with gimp,
> osirix and matlab and none of these gave any
> warnings.
>
> ImageMagick(6.5.5) gives a very similar warning though:
> display: mg63.tif: unknown field with tag 50839 (0xc697) encountered.
> `TIFFReadDirectory' @ tiff.c/TIFFWarnings/526, so I guess
> there is something about the images I have.
>
> I uploaded one of the images to
> www.cs.rpi.edu/~bilgic/data/MG63_0_1.tif.
>
> I am not sure what to ask to the people who takes
> these images to check the validity of the warning.
>
> Any ideas?
>
> Thanks,
> Cagatay
>
> On Apr 6, 2009, at 11:57 AM, Luis Ibanez wrote:
>
>>
>> Hi Cagatay,
>>
>> It is not clear whether this is a bug, or a valid warning about
>> your images.
>>
>> Have you tried reading your tiff images with other software
>> packages ?
>>
>> For example:
>>
>> * GIMP
>> * ImageMagick
>> * or even VTK
>>  (I believe VTK has a more recent version of the TIFF library)
>>
>>
>> If so, have you got a similar warning message with them ?
>>
>>
>>  Please let us know,
>>
>>
>>    Thanks
>>
>>
>>       Luis
>>
>>
>> -------------------------
>> C.Cagatay Bilgin wrote:
>>>
>>> I get this warning from the reader in most of the images
>>> I have. If I am not mistaken these tags are related to
>>> Adobe in some way. Is it possible to get read of this warning
>>> somehow, maybe with a small bug-fix ?
>>> TIFFReadDirectory: Warning, MG63_0_1.tif: unknown field with tag 50839
>>>  (0xc697) encountered.
>>> TIFFReadDirectory: Warning, MG63_0_1.tif: unknown field with tag 50838
>>>  (0xc696) encountered.
>>> Cagatay
>>> _____________________________________
>>> Powered by www.kitware.com
>>> Visit other Kitware open-source projects at
>>> http://www.kitware.com/opensource/opensource.html
>>> Please keep messages on-topic and check the ITK FAQ at:
>>> http://www.itk.org/Wiki/ITK_FAQ
>>> Follow this link to subscribe/unsubscribe:
>>> http://www.itk.org/mailman/listinfo/insight-users
>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>


More information about the Insight-users mailing list