Potrace™ is a tool for transforming a bitmap (PBM, PGM, PPM, or BMP format) into one of several vector file formats.
![[Note]](../images/note.png)
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
Download (HTTP): https://downloads.sourceforge.net/potrace/potrace-1.16.tar.gz
Download MD5 sum: 5f0bd87ddd9a620b0c4e65652ef93d69
Download size: 644 KB
Estimated disk space required: 7.1 MB (including tests)
Estimated build time: less than 0.1 SBU (including tests)
LLVM-17.0.1 (including clang)
Install Potrace by running the following commands:
./configure --prefix=/usr \
--disable-static \
--docdir=/usr/share/doc/potrace-1.16 \
--enable-a4 \
--enable-metric \
--with-libpotrace &&
makeTo run the test suite, issue: make check.
Now, as the root user:
make install
--enable-a4: Use A4 as the default paper size.
--enable-metric: Use metric units (centimeters)
as default
--disable-static: This switch prevents
installation of static versions of the libraries.
--with-libpotrace: Install the library and headers.