Potrace-1.15

#### Beyond Linux® From Scratch - Version 2019-02-27

### Chapter 10. Graphics and Font Libraries

- Prev

  Poppler-0.74.0

- Next

  Qpdf-8.4.0

- Up
- Home

# Potrace-1.15

## Introduction to Potrace

Potrace™ is a tool for transforming a bitmap (PBM, PGM, PPM, or BMP format) into one of several vector file formats.

This package is known to build and work properly using an LFS-8.4 platform.

### Package Information

- Download (HTTP): https://downloads.sourceforge.net/potrace/potrace-1.15.tar.gz

- Download MD5 sum: 60cecdaa9d14e0008f96b68dce77d246

- Download size: 636 KB

- Estimated disk space required: 7.5 MB (including tests)

- Estimated build time: less than 0.1 SBU (including tests)

### Potrace Dependencies

#### Recommended

LLVM-7.0.1 (including clang).

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/potrace

## Installation of Potrace

Install Potrace by running the following commands:

    ./configure --prefix=/usr                        \
                --disable-static                     \
                --docdir=/usr/share/doc/potrace-1.15 \
                --enable-a4                          \
                --enable-metric                      \
                --with-libpotrace                    &&
    make

To run the test suite, issue: make check.

Now, as the `root` user:

    make install

## Command Explanations

`--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.

## Contents

Installed Programs: mkbitmap, potrace
Installed Libraries: libpotrace.so
Installed Directories: /usr/share/doc/potrace-1.15

### Short Descriptions

mkbitmap | transforms images into bitmaps with scaling and filtering.
potrace | transforms bitmaps into vector graphics.
`libpotrace.so` | is a library for transforming bitmaps into vector graphics

Last updated on 2019-02-15 15:01:29 -0600

- Prev

  Poppler-0.74.0

- Next

  Qpdf-8.4.0

- Up
- Home