libwmf
« Back to VersTracker
Description:
Library for converting WMF (Window Metafile Format) files
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Multimedia
Tags: graphics conversion library wmf vector
Install: brew install libwmf
About:
Libwmf is a C library designed for parsing and converting Windows Metafile (WMF) files. It provides a robust solution for applications needing to render or transform these legacy graphics files into modern formats like PNG, JPEG, or SVG. Its primary value is enabling cross-platform compatibility for Windows-specific vector graphics.
Key Features:
  • Converts WMF to raster formats (PNG, JPG) and vector formats (SVG)
  • Provides a standalone API for parsing WMF records
  • Includes a TeX-specific distribution for generating images in LaTeX documents
  • Supports rendering via an embedded X server for display
Use Cases:
  • Integrating legacy Windows graphics support into Linux/macOS applications
  • Converting WMF diagrams from older documents to web-friendly SVG or PNG
  • Generating images from WMF within TeX/LaTeX workflows
Alternatives:
  • librsvg – Librsvg focuses on SVG rendering and conversion, whereas Libwmf specifically targets the WMF format.
  • ImageMagick – ImageMagick is a broader suite that may handle WMF via delegates, while Libwmf offers a dedicated, lightweight API for WMF specifically.
Version History
Detected Version Rev Change Commit
Sep 12, 2024 9:10pm 3 VERSION_BUMP e20c4f07