potrace

Utility for tracing a bitmap

bacaro: haikuports anche su HaikuPorts
Anche su HaikuPorts. potrace

Descrizione

Potrace is a tool 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, PDF, SVG (scalable vector graphics), DXF, GeoJSON, PGM (for easy antialiasing of pixel-based images), Gimppath, and XFig. 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.

Installa

Canale stable v1.16-2

Questa app e' curata in HaikuPorts. Installala da li', e' gia' disponibile in HaikuDepot.

pkgman install potrace

Scarica .hpkg 1.16-2 (x86_64)

Attenzione: il file arriva dal server di HaikuPorts, ma installarlo a mano non è la strada consigliata. È «pkgman» a risolvere le dipendenze che un .hpkg non porta con sé: un pacchetto installato da solo potrebbe non partire. Usa il comando pkgman qui sopra, a meno che tu non sappia esattamente perché ti serve il file.

Recensioni