2008.09.07 23:18 "[Tiff] SAMPLEFORMAT_IEEEFP", by acanicio

2008.09.11 05:31 "Re: [Tiff] SAMPLEFORMAT_IEEEFP", by Andrey Kiselev

On Wed, Sep 10, 2008 at 01:46:04PM -0700, acanicio wrote:

I'm trying to set some other tags, in order to enhance compatibility with some specific software I use.

For example I have to set the both TIFFTAG_SMINSAMPLEVALUE and TIFFTAG_SMAXSAMPLEVALUE to some specific values.

The setfield method seems to work, but when I open the file with AsTIffTagViewer, both values stay at 0, even if I set TIFFTAG_SMAXSAMPLEVALUE to 1 or any other value.

Any idea about this issue?

It was found recently that this viewer does not work correctly with floating point tags:

 http://www.asmail.be/msg0054550752.html

Use standard tools like tiffinfo/tiffdump and do not forget to report the issue to Joris, AsTIffTagViewer author.

I have the same problem with TIFFTAG_XRESOLUTION and TIFFTAG_YRESOLUTION. I can set any value I want. When I read the file back, the values are 0.

It is likely the same problem. Try libtiff tools first.

Best regards,

Andrey

--
Andrey V. Kiselev
ICQ# 26871517