Hello,

Being relatively new to the OpenEXR format, I have a couple of questions 
regarding multi-layer EXR:

1) What is the (optimal) way to go if I want to merge/compose all the layers of 
an EXR (say flat image for simplicity) into a single layer (RGBA-only 
channels), so that I can convert it to another format and rescale it as needed 
for quick viewing ? -- just like viewing thumbnails, but probably at a higher 
resolution.

I understand that I have to manually determine what the layers are and their 
respective channels, but I don't know (especially) the order in which to merge 
them.  NOTE: I use the terminology "flat image" to refer to non-deep images 
(since "flattening" is used by OIIO to denote this operation) and 
"merge"/"compose" for rendering multi-layers into a single layer; but other SW 
use "flattening" to refer to the merge/compose operation.

2) How do I treat "special" channels like effects, vectors etc. in the scenario 
at point 1?

3) Does using the `flatten()` function for deep and multi-layer images (EXRs) 
also merge the layers or not? I assume not, but I cannot verify this, since I 
don't have an EXR sample. I would greatly appreciate if someone has a sample 
like this.

Thank you,
Radu Arjocu<http://www.masstech.com>
_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to