From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: Date: Sun, 22 Feb 2009 19:04:50 -0500 From: mattmobile@proweb.co.uk To: 9fans@9fans.net MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: [9fans] imgfs Topicbox-Message-UUID: a5fbc124-ead4-11e9-9d60-3106f5b1d025 I did some work on /n/sources/contrib/maht/imgfs stripped out a load of stuff and brought import_ppm inside rather than an external tool imgfs echo glenda > /n/imgfs/new echo import ppm /n/sources/contrib/maht/imgfs/glenda.ppm > /n/imgfs/images/glenda/ctrl ls -l /n/imgfs/images/glenda/* --rw-rw-rw- M 567 maht maht 0 Feb 22 18:54 /n/imgfs/images/glenda/alpha --rw-rw-rw- M 567 maht maht 10000 Feb 22 18:54 /n/imgfs/images/glenda/blue --rw-rw-rw- M 567 maht maht 0 Feb 22 18:54 /n/imgfs/images/glenda/ctrl --rw-rw-rw- M 567 maht maht 10000 Feb 22 18:54 /n/imgfs/images/glenda/green --rw-rw-rw- M 567 maht maht 3 Feb 22 18:54 /n/imgfs/images/glenda/height --r--r--r-- M 567 maht maht 30021 Feb 22 18:54 /n/imgfs/images/glenda/ppm --rw-rw-rw- M 567 maht maht 10000 Feb 22 18:54 /n/imgfs/images/glenda/red --rw-rw-rw- M 567 maht maht 0 Feb 22 18:54 /n/imgfs/images/glenda/select --rw-rw-rw- M 567 maht maht 3 Feb 22 18:54 /n/imgfs/images/glenda/width convolute works like this echo convolute red 3x3 1.1 1.2 1.3 2.1 2.2 2.3 3.1 3.2 3.3 > /n/imgfs/images/glenda/ctrl and that's as far as I got, or rather I then started writing rc scripts to make gaussian convolution kernels page ppm works if you want to see your results writing to red green and blue changes the ppm matt