OpenImageIO/oiio — pull request #203 by lgritz (2011-12-18 15:17:04+00:00)
Title: Better handling of unexpected TIFF bitsperpixel/format combinations 

For several bits/format combinations that we didn't account for, fail rather than crash. And speculatively interpret IEEEFP/16bit as 'half', even though it's not in the TIFF spec. Apparently, some recent versions of PhotoShop are outputting this. In this review, I only support it for reading, not writing, since so few other TIFF-reading apps are likely to make any sense of it (we still auto-convert 'half' output to 'float' for TIFF output).