Convert PFM to SIXEL

Turn PFM images into SIXEL. Values from 0 to 1 are shown as black to white without a brightness curve, and values outside that range are clipped, so depth or disparity maps need scaling first.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

A PFM image your terminal can draw.The result is one SIXEL picture in at most 256 colors.

  1. What you get

    A single SIXEL file made from your PFM image. Some terminals draw SIXEL pictures inline, so you can view the image right where you work.

    The picture uses at most 256 colors.

  2. How values are shown

    Values from 0 to 1 are shown as black to white, with no brightness curve applied. Values outside that range are clipped.

    Depth and disparity maps need scaling first. Without it, values beyond the 0 to 1 range are clipped and the picture loses that detail.

  3. Going the other way

    To turn a SIXEL picture back into a PFM file, use SIXEL to PFM.

PFM and SIXEL.What each format is.

The formats

From · 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
To · SIXEL

Sixel

Images encoded for terminals that draw graphics inline.

Extensions
.sixel .six
MIME type
image/x-sixel
Kind
Images

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

terminal
$ cv convert photo.pfm photo.sixel
$ cv convert photo.pfm photo.sixel

Questions.What people ask about PFM to SIXEL.

01OF 04

No. Some terminals draw SIXEL pictures, and others do not.

Yes, but scale it first. Values outside 0 to 1 are clipped.

At most 256.

No. Values from 0 to 1 map to black through white without a curve.

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