Question
save psd to exr in python
Is it possible to save psd image to exr in python. I have come across openimageio but that supports 8 bit depth images only. What if one wants to save heavier images to exr. ?
# save as exr
import OpenImageIO as oiio
sourcefile = '/path/to/sourcefile.psd'
buf = oiio.ImageBuf(sourcefile)
for layer in range(buf.nsubimages):
buf.reset(sourcefile, subimage=layer)
buf.write('/tmp/mylayer_{l}.exr'.format(l=layer))
