Convert PNM to EXR
Turn PNM 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 PNM files on the dialor turn it to pick what to do
A PNM picture as an OpenEXR file.Same size, half-float, with colors in linear light and the transparency applied.
What you get
One EXR file with the same width and height as the PNM picture. It is a half-float OpenEXR picture with ZIP compression.
Opaque pictures get a solid alpha channel, so the EXR always carries transparency data.
What changes
The colors are converted from sRGB to linear light. They are also premultiplied by the transparency, as EXR tools expect. The stored values are therefore not the same numbers as in the PNM file.
Nothing comes out brighter than white. The source holds no wider range, so the EXR does not gain any extra highlights.
Going the other way
To turn an EXR back into a PNM, use EXR to PNM. For other conversions of this format, see every PNM conversion.
PNM and EXR.What each format is.
The formats
Portable Anymap
Portable anymap images, the simplest raster format: PBM, PGM and PPM.
- Extensions
- .pnm .ppm .pgm .pbm
- MIME type
- image
/x -portable -anymap - 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 PNM to EXR conversion through the API, for your app or your agent.
$ cv convert photo.pnm photo.exr$ cv convert photo.pnm photo.exrQuestions.What people ask about PNM to EXR.
Yes. The width and height stay the same.
Yes. Opaque pictures get a solid alpha channel. Pictures with transparency have their colors premultiplied by it.
No. Nothing comes out brighter than white, since the PNM holds no wider range.
PNM covers PBM, PGM and PPM images, and this conversion takes PNM as its source.