Convert XCF to PFM
Turn XCF images into PFM. The visible layers are combined the way GIMP shows them, with their blend modes, opacity, masks and groups.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop XCF files on the dialor turn it to pick what to do
A flattened GIMP image as float pixels.The visible layers are merged into one PFM file. Each color is a 32-bit float.
What you get
One PFM file. The visible layers are combined the way GIMP shows them, with their blend modes, opacity, masks and groups.
The file is a Portable Float Map, uncompressed, with each color stored as a 32-bit float.
How the values are scaled
The values keep the scale of the image's 8- or 16-bit depth. They run up to 255 or 65535, not from 0 to 1. A program that expects 0 to 1 needs the values rescaled after you open the file.
What it leaves behind
The layers. The result is a single flattened image, so you cannot edit them separately afterwards.
Transparency is dropped, so the PFM has no alpha channel.
Files with active non-destructive filters from GIMP 3 are not supported, since only GIMP can apply them.
XCF and PFM.What each format is.
The formats
GIMP Image
GIMP's native image format with layers.
- Extensions
- .xcf
- MIME type
- image
/x -xcf - Kind
- Images
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 XCF to PFM conversion through the API, for your app or your agent.
$ cv convert photo.xcf photo.pfm$ cv convert photo.xcf photo.pfmQuestions.What people ask about XCF to PFM.
No. The visible layers are combined into one image, using their blend modes, opacity, masks and groups. For the reverse direction, see PFM to XCF.
No. They keep the 8- or 16-bit scale, so they go up to 255 or 65535.
Transparency is dropped. The PFM holds color values only.
Not if the filters are active and non-destructive. Only GIMP can apply them, so these files are not supported.