Seems to have been patent-encumbered and largely abandoned in the commercial world, but there is a FOSS library called fiasco (.wfa files) that is included with netpbm, available on most *NIX systems.
http://manpages.ubuntu.com/manpages/xenial/man1/netpbm.1.htm...