Add ImageCache attribute "deduplicate" that controls whether the identical-image-deduplication is enabled. (It is enabled by default.)
Disable it for idiff, to be extra super sure we are diffing the actual pixels even if there is a SHA-1 botch. Also, in maketx, store the SHA-1 in metadata "oiio:SHA-1" and the constant color info in "oiio:ConstantColor", in addition to stashing it in the ImageDescription. You can merge this Pull Request by running: git pull https://github.com/lgritz/oiio lg-nocache Or you can view, comment on it, or merge it online at: https://github.com/OpenImageIO/oiio/pull/269 -- Commit Summary -- * ImageCache attribute "deduplicate" controls whether the identical-image-deduplication is enabled. -- File Changes -- M src/doc/imagecache.tex (9) M src/doc/texturesys.tex (3) M src/idiff/idiff.cpp (3) M src/include/imagecache.h (1) M src/include/texture.h (1) M src/libtexture/imagecache.cpp (28) M src/libtexture/imagecache_pvt.h (1) M src/maketx/maketx.cpp (2) -- Patch Links -- https://github.com/OpenImageIO/oiio/pull/269.patch https://github.com/OpenImageIO/oiio/pull/269.diff --- Reply to this email directly or view it on GitHub: https://github.com/OpenImageIO/oiio/pull/269 _______________________________________________ Oiio-dev mailing list [email protected] http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
