2013.02.13 22:03 "[Tiff] 32 bit to 16bit conversion", by james wells

2013.02.14 14:02 "Re: [Tiff] 32 bit to 16bit conversion", by james wells

It's a 32 bit float, a hightmap, and I need to convert it to a 16 bit float, so hopefully it's not as painful?

I'll take a look at ILM's half library when I get home, looks interesting, hopefully not too out of my league.

Thanks Chris, Ed.

On Thursday, February 14, 2013, Chris Cox <ccox@adobe.com> wrote:

32 bit float or integer? And converting to 16 bit float or integer?

Those choices make a big difference in how you do the conversion.

integer -> integer is normally done with linear scaling.

float -> float is done with simple float mapping tools (like the half library from ILM).

integer -> float is straightforward

float -> integer usually requires HDR (High Dynamic Range) tone mapping algorithms


From: tiff-bounces@lists.maptools.org [tiff-bounces@lists.maptools.org] On Behalf Of james wells [jwneuror@gmail.com]

I'm new to dealing with tiffs and images in general, but I need to do a bit depth change of an incoming tiff and am not too sure where to start.

The tif will always be a 32bit grayscale tif, and is in a controlled

to do is convert it from 32 bit, into 16 bit.

I understand this is a little vague, and I hope not to offend with a obvious lack of knowledge on this.

I'd really appreciate any light you could shed on my problem, and If you could point me in the right direction I'd be very grateful.

Thanks for your time guys :)