pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/potrace Potrace is a utility for tracing a bi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4f93a1b75821
branches:  trunk
changeset: 484244:4f93a1b75821
user:      adam <adam%pkgsrc.org@localhost>
date:      Fri Nov 26 14:14:48 2004 +0000

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.

diffstat:

 graphics/potrace/DESCR    |  18 ++++++++++++++++++
 graphics/potrace/Makefile |  16 ++++++++++++++++
 graphics/potrace/PLIST    |   5 +++++
 graphics/potrace/distinfo |   4 ++++
 4 files changed, 43 insertions(+), 0 deletions(-)

diffs (59 lines):

diff -r a1a0ebc5a2f5 -r 4f93a1b75821 graphics/potrace/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/potrace/DESCR    Fri Nov 26 14:14:48 2004 +0000
@@ -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 -r a1a0ebc5a2f5 -r 4f93a1b75821 graphics/potrace/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/potrace/Makefile Fri Nov 26 14:14:48 2004 +0000
@@ -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@localhost
+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 -r a1a0ebc5a2f5 -r 4f93a1b75821 graphics/potrace/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/potrace/PLIST    Fri Nov 26 14:14:48 2004 +0000
@@ -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 -r a1a0ebc5a2f5 -r 4f93a1b75821 graphics/potrace/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/potrace/distinfo Fri Nov 26 14:14:48 2004 +0000
@@ -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



Home | Main Index | Thread Index | Old Index