Daniel Flood
2016-01-21 07:12:53 UTC
Hi folks,
I'm trying to use oiiotool to take an rgb exr, and change the channel names
to some arbitrary value, while preserving compression type and header
metadata.
I tried this, and noticed different results in oiio 1.2 and 1.5. in.exr is
a rgb exr.
oiiotool in.exr --ch "x=R,y=G,z=B" -o out.exr
In 1.2, this creates an empty exr with the correct channel names (ie xyz),
but no image. In 1.5 it creates the image, but the channels are RGB.
Can someone point me in the right direction for this? The reason is
interfacing with external software which expects channel names to
be certain values.
cheers,
Dan
I'm trying to use oiiotool to take an rgb exr, and change the channel names
to some arbitrary value, while preserving compression type and header
metadata.
I tried this, and noticed different results in oiio 1.2 and 1.5. in.exr is
a rgb exr.
oiiotool in.exr --ch "x=R,y=G,z=B" -o out.exr
In 1.2, this creates an empty exr with the correct channel names (ie xyz),
but no image. In 1.5 it creates the image, but the channels are RGB.
Can someone point me in the right direction for this? The reason is
interfacing with external software which expects channel names to
be certain values.
cheers,
Dan