AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2015.11.20 14:09 "[Tiff] Write 32bit Float data to Tiff (Libtiff)", by xb1 xbv1
2015.11.20 14:31 "Re: [Tiff] Write 32bit Float data to Tiff (Libtiff)", by
2015.11.21 09:00 "Re: [Tiff] Write 32bit Float data to Tiff (Libtiff)", by xb1 xbv1

2015.11.20 14:09 "[Tiff] Write 32bit Float data to Tiff (Libtiff)", by xb1 xbv1

hi

i am trying to write 32bit float data to a tiff file. i've set the following tiff-tags

SAMPLESPERPIXEL (1)
BITSPERSAMPLE (32)
SAMPLEFORMAT (COMPLEXIEEEFP)

now i am trying to write the float data (stored in an float-array) via WriteScanLine into the tif file, but WriteScanLine just supports byte-arrays which only stores 8bit integers.

what do i have to do, to save float to tif?