Convert PNM to HDR
Turn PNM images into HDR. A Radiance HDR picture with the colors stored as floating-point light, without tone mapping.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop PNM files on the dialor turn it to pick what to do
Light values in a Radiance HDR file.Your PNM picture becomes an HDR file with floating-point colors.
What you get
One Radiance HDR file. The colors are stored as floating-point light, without tone mapping.
The sRGB colors of the PNM file become linear light from 0 to 1. Nothing in the result is brighter than white.
What stays the same
The conversion does not add brightness that the PNM file does not hold. A PNM picture has no values above white, so the HDR file has none either. The format can hold real-world brightness, but this conversion only fills the range from 0 to 1.
If you need to go the other way, use HDR to PNM.
PNM and HDR.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
Radiance HDR
Radiance HDR images with real-world brightness values.
- Extensions
- .hdr
- MIME type
- image
/vnd .radiance - Kind
- Images
In your code.The same PNM to HDR conversion through the API, for your app or your agent.
$ cv convert photo.pnm photo.hdr$ cv convert photo.pnm photo.hdrQuestions.What people ask about PNM to HDR.
No. The sRGB colors become linear light from 0 to 1, so nothing is brighter than white.
No. The colors are stored as floating-point light without tone mapping.
One file.
PNM covers PBM, PGM and PPM, so files in those forms are the input format for this conversion. See every PNM conversion for other conversions from PNM.