OpenEXR conversion

Hi,

I'm working on building a mac app in Swift that make batch conversions between the .openexr and .png file format in both directions. I would like to know what kinds of the library I could use. I found the mac system could directly convert the .openexr into other formats by right click on the openexr file. I also would like to know if the conversion could be done reversely with some supported libraries. Thanks.

Answered by FrankSchlegel in 704544022

I recommend using Core Image to read, write, and modify EXR images.

Core Image can already natively open PNG and EXR files and write PNG data and files. However, there is no convenient way for writing EXR data of files.

That's why we wrote extensions for doing exactly that. You can find them over at Github.

Accepted Answer

I recommend using Core Image to read, write, and modify EXR images.

Core Image can already natively open PNG and EXR files and write PNG data and files. However, there is no convenient way for writing EXR data of files.

That's why we wrote extensions for doing exactly that. You can find them over at Github.

OpenEXR conversion
 
 
Q