Convert PNG to EXR
Turn PNG images into OpenEXR. A half-float OpenEXR picture of the same size with ZIP compression, its colors converted from sRGB to linear light and premultiplied by the transparency, as EXR tools expect.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop PNG files on the dialor turn it to pick what to do
A PNG turned into a linear EXR.Same size, half-float, ZIP compressed, with colors in linear light.
What you get
One OpenEXR file with the same width and height as your PNG. It is stored as a half-float picture with ZIP compression.
Opaque pictures get a solid alpha channel, so the EXR always has one.
What changes
The colors are converted from sRGB to linear light, which is what EXR tools expect. The values in the file therefore differ from the PNG's numbers, even though the picture is meant to look the same.
The colors are also premultiplied by the transparency. Where the PNG is partly transparent, the color values are scaled by the alpha before they are stored.
When it stops
If the PNG cannot be parsed, the conversion stops with
input_corrupted. No EXR is produced in that case.To go the other way, use EXR to PNG.
PNG and EXR.What each format is.
The formats
PNG
Lossless raster images with an alpha channel. Screenshots, icons and graphics with sharp edges.
- Extensions
- .png
- MIME type
- image
/png - Kind
- Images
OpenEXR
OpenEXR, the high dynamic range image format of visual effects work.
- Extensions
- .exr
- MIME type
- image
/x -exr - Kind
- Images
In your code.The same PNG to EXR conversion through the API, for your app or your agent.
$ cv convert photo.png photo.exr$ cv convert photo.png photo.exrQuestions.What people ask about PNG to EXR.
Yes. The width and height are the same.
Yes. Transparency is kept as the alpha channel, and the colors are premultiplied by it. A picture with no transparency gets a solid alpha channel.
The colors are converted from sRGB to linear light. The numbers change, but the conversion is what EXR tools expect.
No. The output is always a half-float picture with ZIP compression, and there are no options to change it.