diff options
author | adam <adam@pkgsrc.org> | 2004-11-26 14:14:48 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2004-11-26 14:14:48 +0000 |
commit | c08e56fc7fa949c3bc4758996d822aa8be913852 (patch) | |
tree | bf310fba6d3c0835484bb7245f563829be029822 /graphics | |
parent | ce063578fe228b373f9eba4194a6133b4129bbbc (diff) | |
download | pkgsrc-c08e56fc7fa949c3bc4758996d822aa8be913852.tar.gz |
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.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/potrace/DESCR | 18 | ||||
-rw-r--r-- | graphics/potrace/Makefile | 16 | ||||
-rw-r--r-- | graphics/potrace/PLIST | 5 | ||||
-rw-r--r-- | graphics/potrace/distinfo | 4 |
4 files changed, 43 insertions, 0 deletions
diff --git a/graphics/potrace/DESCR b/graphics/potrace/DESCR new file mode 100644 index 00000000000..ab000de496e --- /dev/null +++ b/graphics/potrace/DESCR @@ -0,0 +1,18 @@ +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. diff --git a/graphics/potrace/Makefile b/graphics/potrace/Makefile new file mode 100644 index 00000000000..256e793bb26 --- /dev/null +++ b/graphics/potrace/Makefile @@ -0,0 +1,16 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/11/26 14:14:48 adam Exp $ + +DISTNAME= potrace-1.5 +CATEGORIES= graphics +MASTER_SITES= http://potrace.sourceforge.net/download/ \ + ${MASTER_SITE_SOURCEFORGE:=potrace/} + +MAINTAINER= adam@NetBSD.org +HOMEPAGE= http://potrace.sourceforge.net/ +COMMENT= Utility for transforming bitmaps into vector graphics + +USE_BUILDLINK3= yes +GNU_CONFIGURE= yes + +.include "../../devel/zlib/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/graphics/potrace/PLIST b/graphics/potrace/PLIST new file mode 100644 index 00000000000..8404fc00b3f --- /dev/null +++ b/graphics/potrace/PLIST @@ -0,0 +1,5 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2004/11/26 14:14:48 adam Exp $ +bin/potrace +bin/mkbitmap +man/man1/potrace.1 +man/man1/mkbitmap.1 diff --git a/graphics/potrace/distinfo b/graphics/potrace/distinfo new file mode 100644 index 00000000000..aee7a14bbc5 --- /dev/null +++ b/graphics/potrace/distinfo @@ -0,0 +1,4 @@ +$NetBSD: distinfo,v 1.1.1.1 2004/11/26 14:14:48 adam Exp $ + +SHA1 (potrace-1.5.tar.gz) = 540a961f6862a9e78bb9a73172299c25baeae19c +Size (potrace-1.5.tar.gz) = 221180 bytes |