Convert SGI to PFM

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

SGI images as floating-point PFM.Each color becomes a 32-bit float in one uncompressed file.

  1. What you get

    A Portable FloatMap file made from your SGI image. Each color value is stored as a 32-bit float, and the file is not compressed. The conversion produces one file.

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

  2. What changes

    The values keep the scale of the source. An 8-bit SGI image has values up to 255, and a 16-bit image has values up to 65535. They are not rescaled to the range 0 to 1, so a program that expects that range needs to divide them itself.

    Transparency is dropped. Only the color values are written to the PFM.

  3. Going back

    To turn a PFM into an SGI image, use PFM to SGI. Other SGI conversions are listed under every SGI conversion.

SGI and PFM.What each format is.

The formats

From · SGI

SGI Image

Silicon Graphics raster images.

Extensions
.sgi .rgb .bw
MIME type
image/x-sgi
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 SGI to PFM conversion through the API, for your app or your agent.

terminal
$ cv convert photo.sgi photo.pfm
$ cv convert photo.sgi photo.pfm

Questions.What people ask about SGI to PFM.

01OF 04

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

No. Transparency is dropped, and only the color values are kept.

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

The SGI format covers files ending in sgi, rgb or bw. Each one becomes a single PFM file.

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