aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchris <chris>2006-09-14 14:20:56 +0000
committerchris <chris>2006-09-14 14:20:56 +0000
commit02d1dcdbb19fc9fcab567c1281f5bffdd2a8a4a3 (patch)
treee9956f7eb1dd54136acfc88f4d0f699a1e91e3cb
parent38b6793250f344231b8d652c703342ae5115c79f (diff)
Note example using TILECOL and TILEROW.
-rw-r--r--pnmtilesplit/pnmtilesplit.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/pnmtilesplit/pnmtilesplit.c b/pnmtilesplit/pnmtilesplit.c
index 68edbaa94..99cfd2bb7 100644
--- a/pnmtilesplit/pnmtilesplit.c
+++ b/pnmtilesplit/pnmtilesplit.c
@@ -7,7 +7,7 @@
*
*/
-static const char rcsid[] = "$Id: pnmtilesplit.c,v 1.4 2006-09-13 19:38:16 chris Exp $";
+static const char rcsid[] = "$Id: pnmtilesplit.c,v 1.5 2006-09-14 14:20:56 chris Exp $";
#include <sys/types.h>
@@ -126,6 +126,11 @@ void usage(FILE *fp) {
" and TILEROW in the environment of the command are set to\n"
" the column and row indices of the tile being generated.\n"
"\n"
+"Note that you can specify -f /dev/null and use the pipe command to create\n"
+"the output images, for instance with a command like,\n"
+" pnmtilesplit -p 'pnmtopng > $TILEROW,$TILECOL.png' -f /dev/null 256 256\n"
+"if you want to exchange the column and row indices.\n"
+"\n"
"Copyright (c) 2006 UK Citizens Online Democracy. All rights reserved.\n"
"Email: chris@mysociety.org; WWW: http://www.mysociety.org/\n"
"%s\n",