Convert HDR to AVIF

Turn HDR images into AVIF. Same size, converted from linear light to 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 AVIF picture from a Radiance HDR file.Same width and height, converted to sRGB. Brightness above white is clipped.

  1. What you get

    One AVIF file at the same width and height as the HDR image. The conversion is lossy and uses Quality 60 unless you set another value.

    The brightness values are converted from linear light to sRGB. AVIF is an AV1-based format with support for HDR and alpha, but this conversion produces an sRGB picture.

  2. What changes

    No tone mapping is applied. Values brighter than white are clipped, so very bright areas in the HDR image become plain white in the AVIF.

    Because the conversion is lossy, some detail is lost. Set Quality higher to keep more detail. Above 90 the file grows quickly while the picture barely changes.

  3. Size and rotation

    Set Max width or Set Max height to shrink a large image. The shape is kept, and images that are already smaller stay as they are, so nothing is enlarged. Both accept values from 1 to 20000.

    Set Rotate to turn the result clockwise by 90, 180 or 270 degrees.

HDR and AVIF.What each format is, and the options this conversion takes.

  1. 01 · max_height

    Max height (px)

    Shrinks anything taller than this, keeping its shape. Anything shorter stays as it is, so nothing is ever enlarged.

    1 to 20000
  2. 02 · max_width

    Max width (px)

    Shrinks anything wider than this, keeping its shape. Anything narrower stays as it is, so nothing is ever enlarged.

    1 to 20000
  3. 03 · quality

    Quality

    How much detail lossy compression keeps. Higher keeps more detail and makes a bigger file. Above 90 the file grows quickly while the picture barely changes.

    1 to 100 default 60
  4. 04 · rotate

    Rotate

    Turns the result clockwise by a quarter, a half or three quarters.

    90 · 180 · 270

The formats

From · HDR

Radiance HDR

Radiance HDR images with real-world brightness values.

Extensions
.hdr
MIME type
image/vnd.radiance
Kind
Images
To · AVIF

AVIF

AV1-based images with better compression than WebP and support for HDR and alpha.

Extensions
.avif
MIME type
image/avif
Kind
Images

In your code.The same HDR to AVIF conversion through the API, for your app or your agent.

terminal
$ cv convert photo.hdr photo.avif
$ cv convert photo.hdr photo.avif

Questions.What people ask about HDR to AVIF.

01OF 04

No. The values are converted to sRGB without tone mapping, so anything brighter than white is clipped.

Yes. It uses Quality 60 unless you choose another value from 1 to 100. A higher Quality keeps more detail and makes a bigger file.

Yes. Set Max width or Max height. Images that are already within the limit keep their size.

There is a separate conversion for that: AVIF to HDR.

More conversions.Other ways in and out of HDR and AVIF.