https://github.com/OpenImageIO/oiio/pull/168

This started off as a fix for issue #165 
(https://github.com/OpenImageIO/oiio/issues/165) -- not reading 10 and 12 bit 
TIFF files correctly.

But as I dug, I saw that in addition to some bit depths (6, 10, 12, 14) not 
being supported in the reader, we also lacked them in the writer and 
additionally had a very incomplete and buggy support for writing "separate" 
planatconfig files of any bit depth (especially when tiled).

So it turned into a rather large refactor of TIFF where uncommon bit depths 
and/or separate planarconfig are concerned.  But as you can see from the 
modified testsuite run.py file, this greatly expands the number of obscure TIFF 
varieties that we support.

TIFF support is pretty fundamental, this is a big and risky change, so 
certainly this is destined for the trunk (0.11) only and will not be backported 
to 0.10.

-- Commit Summary --

* TIFF - fix lots of odd-bit-depth and contig/separate bugs

-- File Changes --

M src/tiff.imageio/tiffinput.cpp (187)
M src/tiff.imageio/tiffoutput.cpp (39)
M testsuite/tiff-depths/ref/out.txt (416)
M testsuite/tiff-depths/run.py (45)
M testsuite/tiff-suite/run.py (1)

-- Patch Links --

 https://github.com/OpenImageIO/oiio/pull/168.patch
 https://github.com/OpenImageIO/oiio/pull/168.diff


--
Larry Gritz
[email protected]


_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to