Convert JP2 to PFM

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

JPEG 2000 pixels as 32-bit floats.One PFM file with uncompressed float values on the original 8- or 16-bit scale.

  1. What you get

    A Portable Float Map, a floating-point image in the PNM family that is used for HDR and depth maps. Each color is stored as a 32-bit float, and the file is uncompressed.

    The conversion gives you one file for each JP2.

  2. How the values are scaled

    The values keep the scale of the source, which is 8-bit or 16-bit. They run up to 255 or 65535 rather than from 0 to 1.

  3. What it leaves behind

    Transparency is dropped. The PFM holds the color values only.

    To go the other way, use PFM to JP2.

JP2 and PFM.What each format is.

The formats

From · JP2

JPEG 2000

JPEG 2000, a wavelet image codec used in archives, cinema and medical imaging.

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

terminal
$ cv convert photo.jp2 photo.pfm
$ cv convert photo.jp2 photo.pfm

Questions.What people ask about JP2 to PFM.

01OF 04

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

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

No. Transparency is dropped.

Yes. Use PFM to JP2 for that direction.

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