Inspired by my recent fixes for reading scanline files with per-channel data 
formats when converting their formats (reading native formats was fine), I 
audited the code for the tiled case and found a few buglets there as well.  
Herein are the fixes.

Additionally, I have added two testsuite entries: perchannel and 
nonwhole-tiles, which test those recent fixes.




You can merge this Pull Request by running:

  git pull https://github.com/lgritz/oiio lg-imageinput

Or you can view, comment on it, or merge it online at:

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

-- Commit Summary --

* Fix input of tiled images with per-channel formats.
* Add testsuite/nonwhole-tiles that tests for bugs when reading and writing 
tiled images with partial tiles at the border.
* Add testsuite/perchannel to check for bugs reading and writing perchannel 
data formats

-- File Changes --

M src/CMakeLists.txt (3)
M src/libOpenImageIO/imageinput.cpp (33)
A testsuite/nonwhole-tiles/ref/out.txt (2)
A testsuite/nonwhole-tiles/run.py (19)
A testsuite/perchannel/ref/out.txt (8)
A testsuite/perchannel/run.py (34)

-- Patch Links --

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

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenImageIO/oiio/pull/376
_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to