blob: f36d63bb6e6bb4ab92fe46dce677759968493b8c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
$NetBSD: patch-bq,v 1.2 1998/08/07 10:40:51 agc Exp $
--- /dev/null Thu Oct 16 09:27:24 1997
+++ ./pnm/pnmsmooth.orig Mon Oct 4 05:11:56 1993
@@ -0,0 +1,20 @@
+#!/bin/sh
+#
+# pnmsmooth - smooth out an image by replacing each xel with the
+# average of its nine immediate neighbors
+
+tmp=/tmp/psm.$$
+rm -f $tmp
+
+cat > $tmp << MOO
+P2
+3 3
+18
+10 10 10
+10 10 10
+10 10 10
+MOO
+
+pnmconvol $tmp ${1+"$@"}
+
+rm -f $tmp
|