summaryrefslogtreecommitdiff
path: root/graphics/gimp-warp-sharp
diff options
context:
space:
mode:
authorminskim <minskim>2004-11-07 15:06:08 +0000
committerminskim <minskim>2004-11-07 15:06:08 +0000
commite0fbce5873f2556ebb63e04672d2ca580f3ae3ee (patch)
tree2cdaaaeb45a924844027991a7eea844142971ce9 /graphics/gimp-warp-sharp
parent4ce88ddb3378ddc599fa0d214cca1ec77822ab1c (diff)
downloadpkgsrc-e0fbce5873f2556ebb63e04672d2ca580f3ae3ee.tar.gz
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.
Diffstat (limited to 'graphics/gimp-warp-sharp')
-rw-r--r--graphics/gimp-warp-sharp/DESCR9
-rw-r--r--graphics/gimp-warp-sharp/Makefile26
-rw-r--r--graphics/gimp-warp-sharp/PLIST2
-rw-r--r--graphics/gimp-warp-sharp/distinfo5
-rw-r--r--graphics/gimp-warp-sharp/patches/patch-aa13
5 files changed, 55 insertions, 0 deletions
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"
+- "<Image>/Script-Fu/Alchemy/Warp Sharp"
++ "<Image>/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@gimp.org>"
+ "Simon Budig"