Convert HDR to SUN
Turn HDR images into SUN. The light is converted to 8-bit sRGB without tone mapping, so values brighter than white are clipped.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop HDR files on the dialor turn it to pick what to do
An HDR image as a Sun raster.The picture keeps its width and height. Light brighter than white is clipped.
What you get
One SUN file, a Sun raster picture at the same size as the HDR image. The conversion itself loses nothing beyond the brightness change described below.
What changes
An HDR file stores real-world brightness values. A Sun raster holds 8-bit sRGB, so the light is converted to that range without tone mapping. Values brighter than white are clipped to white.
Bright areas that held detail in the HDR file can come out flat. Tone mapping is not applied, so nothing compresses the bright range to fit.
Going the other way
A Sun raster holds 8-bit color, so it cannot restore the brightness that was clipped. SUN to HDR converts a Sun raster back to an HDR file, but the result only holds the values the Sun raster has.
HDR and SUN.What each format is.
The formats
Radiance HDR
Radiance HDR images with real-world brightness values.
- Extensions
- .hdr
- MIME type
- image
/vnd .radiance - Kind
- Images
Sun Raster
Sun Microsystems raster images from old Unix workstations.
- Extensions
- .ras .sun
- MIME type
- image
/x -sun -raster - Kind
- Images
In your code.The same HDR to SUN conversion through the API, for your app or your agent.
$ cv convert photo.hdr photo.ras$ cv convert photo.hdr photo.rasQuestions.What people ask about HDR to SUN.
No. The light is converted to 8-bit sRGB without tone mapping, and values brighter than white are clipped.
No. The Sun raster has the same width and height as the HDR image.
No. Clipped values are gone from the SUN file. Keep the HDR file if you need them.
Yes. Each conversion gives one SUN file.