Convert PFM to DXF
Turn PFM images into DXF. Values from 0 to 1 are shown as black to white without a brightness curve, and values outside that range are clipped.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop PFM files on the dialor turn it to pick what to do
Outlines traced from a float image.The darker areas of a PFM become DXF outlines that CAD programs can open.
What you get
One DXF file with the darker areas of the picture traced as outlines. The drawing is in pixel units, so one pixel is one unit.
The picture is first split into darker and lighter tones at the level that best separates them. Only the darker areas are traced. Clear areas count as white.
How values are read
Values from 0 to 1 are shown as black to white without a brightness curve. Values outside that range are clipped.
Colors are dropped before tracing, so the result is a black and white shape drawing, not a color one.
What traces well
Logos, line art and scanned drawings trace cleanly. Photos, small text and tiny icons come out rough.
A picture of one flat tone has nothing to trace, and the conversion stops with
unsupported_elements. A white logo on a clear background is an example, since both count as white.
PFM and DXF.What each format is.
The formats
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
AutoCAD DXF
AutoCAD's drawing exchange format. Vector geometry that CAD programs share.
- Extensions
- .dxf
- MIME type
- image
/vnd .dxf - Kind
- Documents
In your code.The same PFM to DXF conversion through the API, for your app or your agent.
$ cv convert photo.pfm photo.dxf$ cv convert photo.pfm photo.dxfQuestions.What people ask about PFM to DXF.
No. Colors are dropped, and only the outlines of the darker areas are traced.
Pixel units. One pixel of the PFM is one unit in the DXF.
The picture is one flat tone, so there is nothing to trace. A white logo on a clear background does this.
It converts, but the outlines come out rough. Line art, logos and scanned drawings give cleaner results.