Re: [Oiio-dev] UDim Question Responses...

2016-06-13 Thread Larry Gritz
The first stab at the UDIM stuff is in OIIO master. I'm mulling over how to support Bruce's suggestion about UDIM-in-one-file, it seems like a neat idea. I agree with Jono that if DWA has already proven no negative effects in practice of lifting the same-data-window restriction on multi-part fi

Re: [Oiio-dev] UDim Question Responses...

2016-06-13 Thread Jonathan Gibbs
If I recall correctly, when this stuff was added in 2.0, there were discussions about if this should be a requirement or not. It was decided to be conservative we'd start with the requirement, and then look to lift it in a later version. Looks like it's not lifted yet, but technically could be soon

Re: [Oiio-dev] Split Multi Channel EXRs

2016-06-13 Thread Sebastian Kral
That is exactly what I was looking for. Thank you for the pointer, it will make this a breeze to set up. Cheers, Sebastian On Monday, 13 June 2016, Larry Gritz wrote: > How about this: > > > #!/usr/bin/env python > > import sys > import OpenImageIO as oiio > > # Just take the arg of the input f

Re: [Oiio-dev] Split Multi Channel EXRs

2016-06-13 Thread Larry Gritz
How about this: #!/usr/bin/env python import sys import OpenImageIO as oiio # Just take the arg of the input filename. # Exercise for the reader: alter this program to loop over all arguments # so you can use wildcards on the command line. infilename = sys.argv[1] # Read the image img = oiio.I

Re: [Oiio-dev] Split Multi Channel EXRs

2016-06-13 Thread Sebastian Kral
Fully general unfortunately. I have to find a good way to configure which channels it should down convert to a lower bit depth too. Not eager to tackle that though. On Monday, 13 June 2016, Larry Gritz wrote: > It can certainly split the channels. The question is how much you can > script total

Re: [Oiio-dev] Split Multi Channel EXRs

2016-06-13 Thread Larry Gritz
It can certainly split the channels. The question is how much you can script totally on the oiiotool command line, or whether it's easier to write a (very short) Python script to do it. Do you already know the number/names of the input channels? Or do you need something fully general that will

[Oiio-dev] Split Multi Channel EXRs

2016-06-13 Thread Sebastian Kral
Hi, I searched through the archive but couldn't find a good answer. Is OIIO the right tool to split our multi channel EXR (tiled) into single channel EXRs (scanline)? Or would you guys recommend something else? If it is the right tool, is there a way to give it a path with a wildcard which it use