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
| System | Port | Version |
|---|---|---|
| NetBSD | graphics/potrace | 1.16 |
| FreeBSD | graphics/potrace | 1.16_1 |
| OpenBSD | graphics/potrace | 1.16p0 |
| DragonFly | graphics/potrace | 1.16_1 |
| HardenedBSD | graphics/potrace | 1.16_1 |
| GhostBSD | graphics/potrace | 1.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.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 1.16 |
| NetBSD 10.1 aarch64 | 1.16 |
| SmartOS / illumos x86_64 | 1.16 |
| macOS 15 arm64 | 1.16 |