From e0fbce5873f2556ebb63e04672d2ca580f3ae3ee Mon Sep 17 00:00:00 2001 From: minskim Date: Sun, 7 Nov 2004 15:06:08 +0000 Subject: Initial import of gimp-warp-sharp. Sharpening images with traditional methods increases the amount of noise in the image. This script implements a method to sharpen images described by Joern Loviscach in the german computer magazine c't, 22/1999. Basically it "squeezes" unsharp edges. This method is a simplified Version of an algorithm by Nur Arad and Craig Gotsman: "Enhancement by Image-Dependent Warping", IEEE Transactions on Image Processing, 1999, Vol. 8, No. 8, S. 1063. --- graphics/gimp-warp-sharp/DESCR | 9 +++++++++ graphics/gimp-warp-sharp/Makefile | 26 ++++++++++++++++++++++++++ graphics/gimp-warp-sharp/PLIST | 2 ++ graphics/gimp-warp-sharp/distinfo | 5 +++++ graphics/gimp-warp-sharp/patches/patch-aa | 13 +++++++++++++ 5 files changed, 55 insertions(+) create mode 100644 graphics/gimp-warp-sharp/DESCR create mode 100644 graphics/gimp-warp-sharp/Makefile create mode 100644 graphics/gimp-warp-sharp/PLIST create mode 100644 graphics/gimp-warp-sharp/distinfo create mode 100644 graphics/gimp-warp-sharp/patches/patch-aa (limited to 'graphics/gimp-warp-sharp') diff --git a/graphics/gimp-warp-sharp/DESCR b/graphics/gimp-warp-sharp/DESCR new file mode 100644 index 00000000000..7ab14f0b7e1 --- /dev/null +++ b/graphics/gimp-warp-sharp/DESCR @@ -0,0 +1,9 @@ +Sharpening images with traditional methods increases the amount of +noise in the image. This script implements a method to sharpen images +described by Joern Loviscach in the german computer magazine c't, +22/1999. + +Basically it "squeezes" unsharp edges. This method is a simplified +Version of an algorithm by Nur Arad and Craig Gotsman: "Enhancement by +Image-Dependent Warping", IEEE Transactions on Image Processing, 1999, +Vol. 8, No. 8, S. 1063. diff --git a/graphics/gimp-warp-sharp/Makefile b/graphics/gimp-warp-sharp/Makefile new file mode 100644 index 00000000000..e0b35c78cc9 --- /dev/null +++ b/graphics/gimp-warp-sharp/Makefile @@ -0,0 +1,26 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/11/07 15:06:08 minskim Exp $ + +DISTNAME= warp-sharp +PKGNAME= gimp-${DISTNAME}-1.4 +CATEGORIES= graphics +MASTER_SITES= http://www.home.unix-ag.org/simon/gimp/ +EXTRACT_SUFX= .scm + +MAINTAINER= minskim@NetBSD.org +HOMEPAGE= http://www.home.unix-ag.org/simon/gimp/warp-sharp.html +COMMENT= Image sharpening script for GIMP + +DEPENDS= gimp>=2.0:../../graphics/gimp + +WRKSRC= ${WRKDIR} +NO_CONFIGURE= yes +NO_BUILD= yes + +DIST_SUBDIR= ${PKGNAME_NOREV} +EXTRACT_CMD= ${CP} ${DOWNLOADED_DISTFILE} ${WRKSRC} + +do-install: + ${INSTALL_DATA} ${WRKSRC}/${DISTNAME}${EXTRACT_SUFX} \ + ${PREFIX}/share/gimp/2.0/scripts + +.include "../../mk/bsd.pkg.mk" diff --git a/graphics/gimp-warp-sharp/PLIST b/graphics/gimp-warp-sharp/PLIST new file mode 100644 index 00000000000..f6bedd225fc --- /dev/null +++ b/graphics/gimp-warp-sharp/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2004/11/07 15:06:08 minskim Exp $ +share/gimp/2.0/scripts/warp-sharp.scm diff --git a/graphics/gimp-warp-sharp/distinfo b/graphics/gimp-warp-sharp/distinfo new file mode 100644 index 00000000000..6eb4b3a5179 --- /dev/null +++ b/graphics/gimp-warp-sharp/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2004/11/07 15:06:08 minskim Exp $ + +SHA1 (gimp-warp-sharp-1.4/warp-sharp.scm) = 5f53121fe82f4874c48dbc37a3bcb4aaf1630100 +Size (gimp-warp-sharp-1.4/warp-sharp.scm) = 3875 bytes +SHA1 (patch-aa) = 94d62a9e72e9bc700345744dcf7dd7e8b1599ab1 diff --git a/graphics/gimp-warp-sharp/patches/patch-aa b/graphics/gimp-warp-sharp/patches/patch-aa new file mode 100644 index 00000000000..75d9d403477 --- /dev/null +++ b/graphics/gimp-warp-sharp/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1.1.1 2004/11/07 15:06:08 minskim Exp $ + +--- warp-sharp.scm.orig 2004-11-07 08:49:09.000000000 -0600 ++++ warp-sharp.scm +@@ -77,7 +77,7 @@ + + (script-fu-register + "script-fu-warp-sharp" +- "/Script-Fu/Alchemy/Warp Sharp" ++ "/Script-Fu/Alchemy/Warp Sharp..." + "Sharpen the current drawable by squeezing unsharp edges. Algorithm described by Joern Loviscach in c't 22/1999, p 236." + "Simon Budig " + "Simon Budig" -- cgit v1.2.3