Why Convert HDR to AVIF?
HDR is built for HDR environment maps and lighting for 3D rendering. A huge brightness range in a compact format is its big advantage, but there is a catch: needs tone-mapping to look right on normal screens. AVIF is designed for next-generation web images with the smallest possible file size, with files often 50% smaller than JPG with fewer artifacts, plus HDR and transparency. Converting HDR to AVIF makes sense when you need next-generation web images with the smallest possible file size, or when the app, website or person you're sending the file to expects AVIF.
HDR vs AVIF at a Glance
| Feature | HDR | AVIF |
|---|---|---|
| Created by | Greg Ward (Radiance) (1985) | the Alliance for Open Media (AV1 codec) (2019) |
| Compression | Lossless | Lossy or lossless |
| Color depth | 32-bit RGBE (high dynamic range) | 8, 10 or 12-bit |
| Transparency | No | Yes |
| Animation | No | Yes |
| Best for | HDR environment maps and lighting for 3D rendering | next-generation web images with the smallest possible file size |
What Changes When You Convert HDR to AVIF
- Quality: AVIF uses lossy compression. AVIF stays clean at low quality settings; 60-70% is often indistinguishable from the original.
- Dynamic range: the HDR's high-dynamic-range values are tone-mapped into the normal range AVIF can store.
- File size: The AVIF will typically be a fraction of the HDR's size.
How FxtImg Converts HDR to AVIF
Radiance HDR files are decoded (including RLE scanlines) and tone-mapped to standard range. The AVIF is encoded with the AV1 encoder from Google's Squoosh project (compiled to WebAssembly), or natively if your browser supports it.
When AVIF Is the Right Choice for Your HDR
- Get the smallest possible web image from your HDR.
- Serve HDR or wide-gamut images on modern browsers.
- Cut CDN bandwidth costs on image-heavy sites.
Quick How-To & Settings
Drop your .hdr file in the box above, press Convert to AVIF, then download the SD or HD .avif. Pick SD (50% of the original dimensions by default) for responsive images and mobile pages, or HD (original size, recommended) for hero images and Retina screens. The quality slider sets AVIF compression.
Opening Your AVIF File
Your AVIF file opens in Chrome, Edge, Firefox and Safari 16+, Windows 11 (with the AV1 extension), macOS 13+ Preview and GIMP 2.10+.