Convert AVIF to PFM

Turn AVIF images into PFM. A Portable Float Map with each color as a 32-bit float, uncompressed.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop AVIF files on the dialor turn it to pick what to do

AVIF as floating-point pixels.You get one PFM file with each color stored as a 32-bit float.

  1. What you get

    A Portable FloatMap, which is a floating-point image in the PNM family used for HDR and depth maps. Each color value is a 32-bit float, and the file is uncompressed.

    The values keep the scale of the source, which is 8- or 16-bit, so they run up to 255 or 65535 rather than 0 to 1. A tool that expects values from 0 to 1 needs to account for this.

  2. What is dropped

    Transparency is dropped. Any alpha in the AVIF is not carried into the PFM.

    An animated AVIF gives only its first frame. The other frames are not in the output.

  3. Going back

    To turn a PFM into an AVIF, use PFM to AVIF. It is a separate conversion with its own result.

AVIF and PFM.What each format is.

The formats

From · AVIF

AVIF

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

Extensions
.avif
MIME type
image/avif
Kind
Images
To · PFM

Portable FloatMap

Floating-point pixels in the PNM family, used for HDR and depth maps.

Extensions
.pfm
MIME type
image/x-portable-floatmap
Kind
Images

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

terminal
$ cv convert photo.avif photo.pfm
$ cv convert photo.avif photo.pfm

Questions.What people ask about AVIF to PFM.

01OF 04

No. They keep the 8- or 16-bit scale, so they go up to 255 or 65535.

No. The PFM is uncompressed, with each color stored as a 32-bit float.

Only the first frame is converted. You get one file.

No. Transparency is dropped in the conversion.

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