AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2007.05.04 11:51 "[Tiff] TIFFSetField and float values", by mikk
2007.05.04 12:18 "Re: [Tiff] TIFFSetField and float values", by Andrey Kiselev
2007.05.04 12:46 "Re: [Tiff] TIFFSetField and float values", by mikk
2007.05.04 13:02 "Re: [Tiff] TIFFSetField and float values", by Joris Van Damme
2007.05.04 13:13 "Re: [Tiff] TIFFSetField and float values", by Toby Thain
2007.05.04 13:20 "Re: [Tiff] TIFFSetField and float values", by Joris Van Damme
2007.05.04 21:06 "[Tiff] TIFFSetField and float values", by mahmoudi wafa

2007.05.04 11:51 "[Tiff] TIFFSetField and float values", by mikk

Hello,

I'm fighting with saving TIFFTAG_XRESOLUTION and TIFFTAG_YRESOLUTION into a TIFF file.

AFAIK TIFFSetField is supposed to have 32 bit float as 3rd parameter and I pass such type of parameter to TIFFSetField. The tag value is saved (the tag is added to the IFD), but always has value of 0.0 instead of passed parameter.

I use Borland C++ to compile libtiff. Maybe I haven't configured libtiff properly or need some patches to original libtiff sources to compile it on Borland C++ with float support?

What should I check first? Maybe Joris could help? It seems that he also compiles libtiff with Borland compiler.

Thanks in advance,

mikk