OpenImageIO/oiio — pull request #472 by lgritz (2012-11-29 19:49:37+00:00)
Title: maketx fixes -- fix making textures from source images that are crop windows

Crop windows should be handled by considering them black outside the crop region, not clamping. This was leading to strange artifacts.

Also fix imagebuf.cpp getpixel/setpixel internals -- subtle difference between Iterator::exists() [data exists for the pixel] versus valid() [pixel coordinates is outside the iteration range].

I'll need to backport this to 1.1 as well.