imagemagickblenderopenexr

How do I convert EXR to PNG and adjust brightness at the same time


I was able to convert my EXR image to a PNG using the techniques outlined in Image conversion from IFF and EXR formats to JPEG format .

convert 0007.exr /tmp/0007.png

Unfortunately the PNG looks quite dim.

What should I add to the imagemagick convert command line to increase the brightness?


Solution

  • EXR is in linear RGB colorspace. You want to convert it to non-linear sRGB colorspace in Imagemagick as:

    Input:

    enter image description here

    convert image.exr -set colorspace RGB -colorspace sRGB output.png
    

    enter image description here