question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

issue saving exr file

See original GitHub issue

Saving to exr seems to result in a black image on my computer.

import numpy as np
import imageio
original = imageio.imread('original.exr')
print('original min: {} max: {}'.format(np.min(original), np.max(original)))
imageio.imsave('saved.exr', original)
saved = imageio.imread('saved.exr')
print('saved min: {} max: {}'.format(np.min(saved), np.max(saved)))

results in the printout:

original min: 0.62353515625 max: 1.0
saved min: 0.0 max: 0.0

Here is an exr file for testing. original.exr.zip

I’m using python 3.5.1. imageio is version 1.5 installed using pip. I’m running this on osx.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:12 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
so-rosecommented, May 30, 2017

Thanks so much! Works perfectly with 2.2.

0reactions
almarkleincommented, May 25, 2017

Oh, right! We should probably have closed this when we merged it. Doing so now. Thanks again!

Read more comments on GitHub >

github_iconTop Results From Across the Web

"Problem" with EXR files - Discussions - Using ACES
Hey! I'm having a problem saving my Arnold renders to EXR. The exr file doesn't match at all what I see on Arnold...
Read more >
Saving OpenEXR Files | 3ds Max 2022
Saving OpenEXR Files · Render Setup dialog > Common panel > Common Parameters rollout > Render Output group > Click Files. > Enter...
Read more >
Problem saving EXR files while tile rendering 3DS Max / VRAY
I have a problem trying to use Tile Rendering with .EXR file format using 3DSMax and Vray. I can't find any answer to...
Read more >
Hugin saving blank EXR files - Google Groups
into an issue with bad EXR output. I'm outputting true HDR panos (no fusion) using built-in hdr_merge during stitch process, but the resulting...
Read more >
Cannot read EXR, or the file does not correspond to the ...
If the EXR file was saved from interactive rendering, you must make sure that current render settings are identical to what was used...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found