# graphics/potrace - The NetBSD Packages Collection

Utility for transforming bitmaps into vector graphics

    Potrace is a utility for tracing a bitmap, which means, transforming
    a bitmap into a smooth, scalable image.  The input is a bitmap (PBM,
    PGM, PPM, or BMP), and the default output is one of several vector
    file formats.  A typical use is to create EPS files from scanned
    data, such as company or university logos, handwritten notes, etc.
    The resulting image is not "jaggy" like a bitmap, but smooth. It can
    then be rendered at any resolution.

    Potrace can currently produce the following output formats: EPS,
    PostScript, SVG (scalable vector graphics), PGM (for easy
    antialiasing of pixel-based images), and XFig. An experimental
    Gimppath backend is also provided. Additional backends might be added
    in the future.

    A separate program, mkbitmap, is also provided. This program can act
    as a pre-processor for potrace, applying scaling and various filters
    to an image before converting it to a bitmap. This is useful for
    potracing greyscale and color images.

- Source version: `potrace-1.16`
- Maintainer: adam AT NetBSD.org
- Website: https://potrace.sourceforge.net/
- License: gnu-gpl-v2
- Package history: cvs, hg, git

## Build dependencies

devel/libtool-base pkgtools/mktools pkgtools/cwrappers

## Runtime dependencies

(none)

## Binary packages

OS | Architecture | Version
--- | --- | ---
NetBSD 10.0 | aarch64 | potrace-1.16.tgz
NetBSD 10.0 | aarch64 | potrace-1.16.tgz
NetBSD 10.0 | aarch64eb | potrace-1.16.tgz
NetBSD 10.0 | alpha | potrace-1.16.tgz
NetBSD 10.0 | earmv6hf | potrace-1.16.tgz
NetBSD 10.0 | earmv6hf | potrace-1.16.tgz
NetBSD 10.0 | earmv7hf | potrace-1.16.tgz
NetBSD 10.0 | earmv7hf | potrace-1.16.tgz
NetBSD 10.0 | i386 | potrace-1.16.tgz
NetBSD 10.0 | i386 | potrace-1.16.tgz
NetBSD 10.0 | m68k | potrace-1.16.tgz
NetBSD 10.0 | m68k | potrace-1.16.tgz
NetBSD 10.0 | m68k | potrace-1.16.tgz
NetBSD 10.0 | powerpc | potrace-1.16.tgz
NetBSD 10.0 | powerpc | potrace-1.16.tgz
NetBSD 10.0 | powerpc | potrace-1.16.tgz
NetBSD 10.0 | powerpc | potrace-1.16.tgz
NetBSD 10.0 | sh3el | potrace-1.16.tgz
NetBSD 10.0 | sparc64 | potrace-1.16.tgz
NetBSD 10.0 | sparc64 | potrace-1.16.tgz
NetBSD 10.0 | vax | potrace-1.16.tgz
NetBSD 10.0 | vax | potrace-1.16.tgz
NetBSD 10.0 | vax | potrace-1.16.tgz
NetBSD 10.0 | x86_64 | potrace-1.16.tgz
NetBSD 10.0 | x86_64 | potrace-1.16.tgz
NetBSD 11.0 | aarch64 | potrace-1.16.tgz
NetBSD 11.0 | aarch64 | potrace-1.16.tgz
NetBSD 11.0 | aarch64eb | potrace-1.16.tgz
NetBSD 11.0 | aarch64eb | potrace-1.16.tgz
NetBSD 11.0 | earmv4 | potrace-1.16.tgz
NetBSD 11.0 | earmv6hf | potrace-1.16.tgz
NetBSD 11.0 | earmv6hf | potrace-1.16.tgz
NetBSD 11.0 | earmv7hf | potrace-1.16.tgz
NetBSD 11.0 | earmv7hf | potrace-1.16.tgz
NetBSD 11.0 | i386 | potrace-1.16.tgz
NetBSD 11.0 | i386 | potrace-1.16.tgz
NetBSD 11.0 | m68k | potrace-1.16.tgz
NetBSD 11.0 | m68k | potrace-1.16.tgz
NetBSD 11.0 | mips64eb | potrace-1.16.tgz
NetBSD 11.0 | powerpc | potrace-1.16.tgz
NetBSD 11.0 | riscv64 | potrace-1.16.tgz
NetBSD 11.0 | riscv64 | potrace-1.16.tgz
NetBSD 11.0 | sh3el | potrace-1.16.tgz
NetBSD 11.0 | vax | potrace-1.16.tgz
NetBSD 11.0 | vax | potrace-1.16.tgz
NetBSD 11.0 | x86_64 | potrace-1.16.tgz
NetBSD 11.0 | x86_64 | potrace-1.16.tgz
NetBSD 9.0 | aarch64 | potrace-1.16.tgz
NetBSD 9.0 | aarch64 | potrace-1.16.tgz
NetBSD 9.0 | earmv4 | potrace-1.16.tgz
NetBSD 9.0 | earmv6hf | potrace-1.16.tgz
NetBSD 9.0 | earmv6hf | potrace-1.16.tgz
NetBSD 9.0 | earmv7hf | potrace-1.16.tgz
NetBSD 9.0 | earmv7hf | potrace-1.16.tgz
NetBSD 9.0 | i386 | potrace-1.16.tgz
NetBSD 9.0 | i386 | potrace-1.16.tgz
NetBSD 9.0 | m68k | potrace-1.16.tgz
NetBSD 9.0 | powerpc | potrace-1.16.tgz
NetBSD 9.0 | x86_64 | potrace-1.16.tgz
NetBSD 9.0 | x86_64 | potrace-1.16.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

## Available build options

(none)

## Known vulnerabilities

- a open heap-overflow vulnerability
- a open out-of-bounds-read vulnerability

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.

Problem reports, updates or suggestions for this package should be reported with send-pr.