OpenImageIO/oiio — pull request #187 by lgritz (2011-10-27 15:54:47+00:00)
Title: Review: Straighten out displaywindow vs datawindow semantics.

* 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.