CGM to PFM Converter

Convert CGM technical graphics to PFM float maps

Drop files here. 1 GB maximum file size or Sign Up
to
Facebook Amazon Microsoft Tesla Nestle Walmart L'Oreal

Floating-Point Precision

PFM preserves 32-bit per-channel data. Convert CGM technical drawings into high-precision float maps for scientific and rendering use.

Cloud Infrastructure

Processing happens on Convertio servers. Upload your CGM file and retrieve PFM output without any local resource usage.

Cross-Platform

Access the CGM to PFM converter from Windows, macOS, Linux, or mobile. Any modern browser is sufficient.

How to convert CGM to PFM

1

Select files from Computer, Google Drive, Dropbox, URL or by dragging it on the page.

2

Choose pfm or any other format you need as a result (more than 200 formats supported)

3

Let the file convert and you can download your pfm file right afterwards

About formats

CGM (Computer Graphics Metafile) is a vector graphics standard defined by ISO 8632, first published in 1987 and developed through the ISO/IEC JTC 1/SC 24 committee. The standard defines a device-independent format for storing and transferring two-dimensional vector graphics, raster images, and text. CGM supports three encoding methods: character encoding (compact text representation), binary encoding (efficient machine-readable form), and clear-text encoding (human-readable for debugging). The format describes graphical primitives including polylines, polygons, ellipses, circular arcs, splines, and text with associated attributes for color, line style, fill patterns, and clipping boundaries. CGM found its strongest adoption in technical documentation, particularly in aerospace, defense, and industrial sectors where long-term archival and precise technical illustration are critical. One advantage is formal standardization — as an ISO standard, CGM provides vendor-neutral, specification-driven interoperability guaranteed across compliant implementations. The format's adoption in specialized industries is another practical strength: WebCGM, a W3C profile of CGM, became the mandated illustration format for interactive electronic technical manuals in the aerospace industry (ATA iSpec 2200), ensuring CGM's continued relevance in aviation maintenance documentation. While general-purpose vector work has moved to SVG and PDF, CGM persists in regulated industries where certified, standards-based graphics interchange is mandatory.
Initial release: 1987
PFM (Portable Float Map) is a floating-point raster image format devised by Paul Debevec around 2001, designed to store high-dynamic-range image data with the simplicity of the Netpbm family of formats. PFM extends the PBM/PGM/PPM philosophy — minimal header, raw data, no compression — to 32-bit IEEE floating-point samples, providing direct access to HDR pixel values without the encoding overhead of formats like OpenEXR or the limited range of Radiance HDR's RGBE encoding. The file structure is deliberately minimal: a two-character magic number ('Pf' for grayscale, 'PF' for color), width and height on the next line, a scale/endianness indicator (negative for little-endian, positive for big-endian, with magnitude indicating scale factor), and then the raw 32-bit float data for each pixel. PFM files store one float per pixel for grayscale or three floats (RGB) per pixel for color, with no compression, alpha channel, or metadata support. The format emerged from the HDR imaging research community where Debevec's work on image-based lighting and light stage capture required a simple, unambiguous way to store linear floating-point radiance values that could be easily exchanged between research tools. One advantage is absolute simplicity for HDR data: PFM can be read and written in a few lines of code in any language that supports IEEE floats, with no library dependencies — ideal for research prototyping and quick data exchange between custom tools. The format's widespread adoption in the computer vision and computational photography research community is another practical strength — optical flow benchmarks (Middlebury), depth estimation datasets, and radiance field captures commonly use PFM. The format is supported by ImageMagick, OpenCV, HDR Shop, and Luminance HDR.
Developer: Paul Debevec
Initial release: 2001

Frequently Asked Questions

Why convert CGM to PFM?

PFM stores floating-point pixel data for high-precision imaging. CGM to PFM is useful in scientific and rendering workflows that demand precise values.

What programs read PFM files?

GIMP, ImageMagick, HDRShop, and various scientific imaging tools support the Portable Float Map format.

Is PFM a high-precision format?

Yes — PFM uses 32-bit floating-point values per channel, offering far more precision than standard 8-bit image formats.

Is CGM to PFM free?

Standard conversions are free on Convertio. Premium accounts unlock extended file sizes and priority queues.

Is software installation required?

No — the converter is entirely browser-based. No local software, plugins, or extensions are needed.