BSD Ports

Vulnerable: version 1.16 is affected by 2 known vulnerabilities. See below.

graphics/potrace 1.16 NetBSD

Utility for transforming bitmaps into vector graphics

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
gnu-gpl-v2
Categories
graphics
Package size
86.1 KiB, 265.9 KiB installed

Description

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.

In the other systems

SystemPortVersion
NetBSDgraphics/potrace1.16
FreeBSDgraphics/potrace1.16_1
OpenBSDgraphics/potrace1.16p0
DragonFlygraphics/potrace1.16_1
HardenedBSDgraphics/potrace1.16_1
GhostBSDgraphics/potrace1.16_1

Install

Binary package:

pkgin install potrace

From pkgsrc:

cd /usr/pkgsrc/graphics/potrace && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_641.16
NetBSD 10.1 aarch641.16
SmartOS / illumos x86_641.16
macOS 15 arm641.16

Dependencies

Known vulnerabilities 2