* Add ImageOutput::supports("displaywindow").
* oiiotool output checks for displaywindow support, if not found will
pad or crop to make pixels match the "full" (display) size.
* New oiiotool options: --fullsize (set full size), --fullpixels (set full
window to be pixel window), --crop (adjust pixel window, padding or
deleting pixels if necessary), --croptofull (set pixel window to be
full/display window), --noautocrop (turn off auto cropping when outputting
to formats that don't support displaywindow).
* Other straightening out of oiiotool, ImageBuf, and ImageCache to support
these features or fix minor bugs found along the way.
You can merge this Pull Request by running:
git pull https://github.com/lgritz/oiio lg-displaywindow
Or you can view, comment on it, or merge it online at:
https://github.com/OpenImageIO/oiio/pull/187
-- Commit Summary --
* Straighten out displaywindow vs datawindow semantics.
-- File Changes --
M src/doc/builtinplugins.tex (5)
M src/doc/imageoutput.tex (3)
M src/doc/stdmetadata.tex (6)
M src/include/imagebuf.h (10)
M src/include/imagebufalgo.h (33)
M src/include/imageio.h (2)
M src/iprocess/iprocess.cpp (26)
M src/libOpenImageIO/imagebuf.cpp (18)
M src/libOpenImageIO/imagebufalgo.cpp (175)
M src/libOpenImageIO/imagebufalgo_test.cpp (212)
M src/libtexture/imagecache.cpp (3)
M src/oiiotool/imagerec.cpp (7)
M src/oiiotool/oiiotool.cpp (425)
M src/oiiotool/oiiotool.h (22)
M src/openexr.imageio/exroutput.cpp (2)
M src/rla.imageio/rlaoutput.cpp (16)
M src/tiff.imageio/tiffoutput.cpp (2)
M testsuite/oiiotool/ref/resize.tif (0)
M testsuite/oiiotool/run.py (1)
-- Patch Links --
https://github.com/OpenImageIO/oiio/pull/187.patch
https://github.com/OpenImageIO/oiio/pull/187.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/OpenImageIO/oiio/pull/187
_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org