Block diagram exported from Visio
- Input
- 13,801-byte plain WMF.
- Output
- 12,356-byte PDF, one 510 × 192 pt page, in 3.9 s.
WMF → PDF keeps an old Windows drawing as vectors and text, in a file that a print shop, LaTeX or any PDF reader handles without a Windows machine.
From real runs
| Element | Result | What happens |
|---|---|---|
| Page size | Changed | The page is cut to the drawing: the Visio-exported block diagram became a 510 × 192 pt page instead of sitting on A4. |
| Text | Kept | The caption Each input/output has individual DCDC converter is selectable text in the PDF. |
| Lines and boxes | Kept | Arrows, box outlines and the diagonal converter symbols are vector strokes. |
| Window frame drawing | Kept | A plain WMF of a window frame with its 770 and 465 dimension labels converted on a 529 × 373 pt page with every line in place. |
| Fonts | Changed | Labels in both test files were set in Liberation Sans, which has the same character widths as Arial, so captions kept their length. |
| Pictures that draw nothing | Lost | A test WMF that draws nothing visible was refused with a message rather than becoming an empty PDF. |
The page is cut to the drawing: the Visio-exported block diagram became a 510 × 192 pt page instead of sitting on A4.
The caption Each input/output has individual DCDC converter is selectable text in the PDF.
Arrows, box outlines and the diagonal converter symbols are vector strokes.
A plain WMF of a window frame with its 770 and 465 dimension labels converted on a 529 × 373 pt page with every line in place.
Labels in both test files were set in Liberation Sans, which has the same character widths as Arial, so captions kept their length.
A test WMF that draws nothing visible was refused with a message rather than becoming an empty PDF.
We converted our Windows Metafile (WMF) sample (50 KB) with Office engine on 2026-10-20. It took 1.5 s and produced a 2 KB PDF file, 96% smaller than the input. The engine raised no warnings.
Input · sample.wmf · 50 KB
51,590 bytes
Output · sample.pdf · 2 KB
PDF 1.6, 1 page, selectable text, 1 image object
LibreOffice
soffice --headless --convert-to pdf drawing.wmfThe drawing lands in the middle of an A4 page; crop it if the page size matters.
The HTTP API and the MCP server run the exact engine this page uses (Office engine); the response carries the same warnings the web converter shows. Check support first with GET /api/v1/pairs?from=wmf&to=pdf.
curl -X POST https://filetypeconverters.com/api/v1/convert \
-H "Authorization: Bearer $FTC_API_KEY" \
-F "file=@input.wmf" -F "from=wmf" -F "to=pdf" \
--output output.pdfVector. WMF drawing commands become PDF paths and text; only bitmaps embedded in the WMF stay bitmaps.
It is cut to the drawing plus a small margin, which is what you want when the PDF is placed as a figure.
For line drawings, yes: lines stay sharp at any size. Check fonts, because substitutes are used where the original typeface is missing.