2007.05.04 11:51 "[Tiff] TIFFSetField and float values", by mikk
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,