Convert WEBP to PFM

Turn WEBP 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 WEBP files on the dialor turn it to pick what to do

WebP images as floating-point pixels.One PFM file with each color as a 32-bit float, uncompressed.

  1. What you get

    A Portable FloatMap with one file as the result. Each color value is stored as a 32-bit float, and the data is uncompressed.

    PFM belongs to the PNM family and is used for HDR and depth maps.

  2. How values are scaled

    The values keep their 8- or 16-bit scale. They run up to 255 or 65535 instead of 0 to 1. A program that expects values from 0 to 1 needs to divide by the maximum.

  3. What it leaves behind

    Transparency is dropped, so the alpha channel is not in the PFM file.

    An animated WebP gives only its first frame. The other frames are not kept.

    To go the other way, use PFM to WEBP.

WEBP and PFM.What each format is.

The formats

From · WEBP

WebP

Google's web image format with lossy and lossless modes, alpha and animation. Smaller than JPEG and PNG.

Extensions
.webp
MIME type
image/webp
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 WEBP to PFM conversion through the API, for your app or your agent.

terminal
$ cv convert photo.webp photo.pfm
$ cv convert photo.webp photo.pfm

Questions.What people ask about WEBP to PFM.

01OF 04

No. They keep the 8- or 16-bit scale of the source, up to 255 or 65535.

No. Transparency is dropped.

The PFM holds only the first frame of the animation.

No. Each color is stored as an uncompressed 32-bit float.

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