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
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
2007.05.04 21:06 "[Tiff] TIFFSetField and float values", by mahmoudi wafa

2007.05.04 21:06 "[Tiff] TIFFSetField and float values", by mahmoudi wafa

to have libtiff configured you should added file header, le libtif.lib and add the path of the header file. if you haven't a message like "can't found tiffio.h"

so you didn't welle your libtiff.
to set Xresolution and Yresolution use
TIFFSetField (out, TIFFTAG_XRESOLUTION, 100.0);
TIFFSetField (out, TIFFTAG_YRESOLUTION ,100.0);
so as you can see the parameter is a float