AcademySoftwareFoundation / openexr

The OpenEXR project provides the specification and reference implementation of the EXR file format, the professional-grade image storage format of the motion picture industry.
http://www.openexr.com/
BSD 3-Clause "New" or "Revised" License
1.63k stars 619 forks source link

multiple single-layer .exr images to one multi-layer exr image #958

Open gree303 opened 3 years ago

gree303 commented 3 years ago

Hi, I'm trying to get multiple single-layer images converted to one multi-layer exr file. Sofar I've been able to setup openexr with python/pip. But I can't find a suitable help which describes this issue beside the sub-channel docs. It's a bit limited and I can't get my head around it.

Would anyone share a working example for converting multiple images into a single multi-layer exr file? Thanks.

lgritz commented 3 years ago

Do you want a multi-layer file (an OpenEXR 1.x file with many channels, having a particular naming convention that allows them to be logically grouped)? Or do you want a multi-part file (an OpenEXR 2.x file having multiple related images in one file container)?

gree303 commented 3 years ago

Great question! - I have no idea :) But I guess 2.x is the newer standard and the way to go. Beside that I'm interested in both ways. Thanks and plz excuse my late reply.

lgritz commented 3 years ago

oiiotool layer1.exr layer2.exr layer3.exr --siappendall -o merged.exr