Depends on exactly which OIIO version you are using. At some point we changed 
the implied channel name (for formats like TIFF that don't actually save the 
names) of single channel images from R to Y, I think.

Try:

    oiiotool --info -v greyscale.tif

and somewhere in there you'll see the full channel list.  "Y", right?

So I think you will want

    oiiotool greyscale.tif --ch "R=Y,G=Y,B=Y" -o rgb.exr

Does that do the trick?


> On Dec 7, 2016, at 5:40 PM, Steven Caron <[email protected]> wrote:
> 
> Hey Gang,
> 
> I have a single channel tif file (DEM file) and when I run
> 
> >oiiotool --info greyscale.tif
> greyscale.tif : 512 x 512, 1 channel, int16 tiff
> 
> So when I want to shuffle that one channel into R,G,B what channel is it?
> 
> >oiiotool greyscale.tif -ch "G=R,B=R" -o greyscale.exr
> 
> this gives me a black file in Nuke. I am assuming the one channel is red and 
> I am trying to copy it to green and blue.
> 
> Steven
> 
> _______________________________________________
> Oiio-dev mailing list
> [email protected]
> http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

--
Larry Gritz
[email protected]


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

Reply via email to