wmf2svg(1)

✨ NAME ✨

bestie, gather round β€” this is wmf2svg, a little icon of a program that takes your metafile image and converts it to W3C's scalable vector graphic (SVG) format. and yes, we're doing the whole manual page together, i'm not letting you skim πŸ’–


🌸 SYNOPSIS 🌸

okay so here's how you actually call her:

wmf2svg [OPTION] ... [-o <file.swg>] <file.wmf>

or, if you're feeling chaotic and want to batch it:

wmf2svg [OPTION] ... --auto <file1.wmf> [<file2.wmf> ...]

(that <file.swg> spelling is the original's, not a typo i introduced β€” we keep it exactly as it is, i don't make the rules 🫢)


πŸ¦‹ DESCRIPTION πŸ¦‹

Convert metafile image to W3C's scalable vector graphic (SVG) format. that's it. that's the whole vibe. one format in, one gorgeous scalable format out. lowkey iconic. ✨


πŸ’… OPTIONS πŸ’…

every single one of them, no skipping, we're thorough in this house:

  • -z β€” compressed output, and it comes out as .svgz. tiny file, big energy.
  • --inline β€” include images in the svg code. everything's just... in there. πŸŽ€
  • --desc=<str> β€” sets the description tag. give your file a lil autobiography.
  • --maxwidth=<w> β€” where <w> is maximum width image may have. cap it, queen.
  • --maxheight=<h> β€” where <h> is maximum height image may have. same deal but vertical.
  • --maxpect β€” scale image to maximum size keeping aspect. no squishing, no stretching, just respect for the aspect ratio fr fr.
  • --maxsize β€” scale image to maximum size. aspect? not invited to this one. πŸ’€
  • --version β€” display version info and exit. hi, who are you, bye.
  • --help β€” display this help and exit.
  • --wmf-help β€” display wmf-related help and exit.

this is the deep-lore section, the wmf-specific stuff:

  • --wmf-error[=yes|no] β€” switch for error reports.
  • --wmf-debug[=yes|no] β€” switch for debug reports, if any.
  • --wmf-ignore-nonfatal[=yes|no] β€” switch to ignore (some) non-fatal errors.
  • --wmf-diagnostics β€” emit diagnostic information.
  • --wmf-fontdir=<path> β€” add <path> to list of font directories.
  • --wmf-sys-fonts β€” use system fonts, if any found.
  • --wmf-sys-fontmap=<file> β€” use system xml-fontmap file <file>.
  • --wmf-xtra-fonts β€” use non-system fonts, if any found.
  • --wmf-xtra-fontmap=<file> β€” use non-system xml-fontmap file <file>.
  • --wmf-gs-fontmap=<file> β€” use ghostscript file <file>.
  • --wmf-write=<file> β€” write metafile to <file>.
ngl bestie, that's a lot of font options β€” but that's the whole list, all of them, present and accounted for. πŸ’―

πŸ‘‘ AUTHOR πŸ‘‘

wmf2svg is originally written by Martin Vermeer and currently maintained by CaolΓ‘n McNamara.

This manual page was written by Yangfl for the Debian Project (and may be used by others).


and that's a wrap on the wmf2svg(1) manual page, bestie β€” general commands manual, Debian-flavored, and now you know every flag in it πŸ«ΆπŸ’– go forth and vectorize, you absolute main character ⭐