Hello,

I'm having some trouble using oiiotool's copy channel operator. It might be
user error but I wanted to check and see if it's intended behavior. I've
only glanced at the code so far.

My test image is a PNG (4-channel RGBA), but only has information in the
Alpha. When attempting to copy the Alpha into the other 3 channels and
write out an RGB image (no Alpha), I get black. Imagemagick's 'convert' did
what I expected.

invoked as:

oiiotool input.png --ch "R=A,G=A,B=A" -o output.png

I also tried using the numeric channel labels to no avail.

-sp
_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to