What's the benefit of removing the alpha, is it simply to save memory and
disk space?


On Tue, Aug 30, 2011 at 10:56 PM, Larry Gritz <[email protected]> wrote:

> https://github.com/OpenImageIO/oiio/pull/153
>
> maketx --alpha1-detect will omit alpha from textures whose input images had
> designated alpha channels that were 1.0 for all pixels. Somewhat similar in
> operation to --monochrome-detect and --constant-detect.
>
> Also adds ImageBufAlgo::isConstantChannel() utility and does some minor
> cleanup/simplification to isConstantColor.
>
> (Yes, this is because we have textures with pointless alpha=1 everywhere,
> and it's easier to fix in image-to-texture conversion than it is to actually
> fix the problem upstream.)
>
> --
> Larry Gritz
> [email protected]
>
>
>
>
> _______________________________________________
> Oiio-dev mailing list
> [email protected]
> http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
>
_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to