2018-11-08 15:40:20 +01:00
|
|
|
# $NetBSD: Makefile,v 1.14 2018/11/08 14:40:20 kleink Exp $
|
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.
2004-11-26 15:14:48 +01:00
|
|
|
|
2018-11-08 15:40:20 +01:00
|
|
|
DISTNAME= potrace-1.15
|
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.
2004-11-26 15:14:48 +01:00
|
|
|
CATEGORIES= graphics
|
2017-01-19 19:52:01 +01:00
|
|
|
MASTER_SITES= http://potrace.sourceforge.net/download/
|
|
|
|
MASTER_SITES+= ${MASTER_SITE_SOURCEFORGE:=potrace/}
|
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.
2004-11-26 15:14:48 +01:00
|
|
|
|
|
|
|
MAINTAINER= adam@NetBSD.org
|
|
|
|
HOMEPAGE= http://potrace.sourceforge.net/
|
|
|
|
COMMENT= Utility for transforming bitmaps into vector graphics
|
Update to 1.10, set LICENSE.
August 19, 2011: Release 1.10
A DXF backend was added. The output is in the drawing interchange
format used by computer aided design software. Thanks to Jonas
Benedett Dorr for testing. The Gimppath backend was changed to be
compatible with current versions of Gimp. The EPS, PDF, and SVG
backends now use high-resolution bounding boxes. The default scaling
of the EPS, PDF, and SVG backends is now fixed at 72dpi. A new option
--flat was added to the SVG backend. A new option --tight was added
to remove whitespace around the input image before calculating its
scaling and placement.
December 21, 2010: Release 1.9
The xfig and eps backends were improved, and a fixed pagesize PDF
backend was added. Support for BMP version 4 and version 5 files, as
well as top-down BMP files, was added. Minor speed improvements to
Potrace and major speed improvements to mkbitmap. A Gaussian blur
option was added to mkbitmap. Libtool is now used to build and
optionally install the Potrace library. An optional simplified
progress bar was added for dumb terminals. This release also contains
some portability improvements, cross-compilation improvements, and
minor bug fixes.
2011-09-12 23:38:52 +02:00
|
|
|
LICENSE= gnu-gpl-v2
|
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.
2004-11-26 15:14:48 +01:00
|
|
|
|
2006-05-01 22:46:54 +02:00
|
|
|
USE_LIBTOOL= yes
|
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.
2004-11-26 15:14:48 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2017-02-08 19:03:27 +01:00
|
|
|
CONFIGURE_ARGS+= --with-libpotrace
|
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.
2004-11-26 15:14:48 +01:00
|
|
|
|
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|