.\" As its sole author, I explicitly place this file in the public domain. .\" It may be used by anyone in any way for any purpose, though I would .\" appreciate credit where it's due. .\" der Mouse, mouse@rodents-montreal.org, 2009-06-16 .Dd June 16, 2009 .Dt PNMSELECT 1 .Os NetBSD 1.4T .Sh NAME .Nm pnmselect .Nd choose between two files .Sh SYNOPSIS .Nm .Ar flagfile file0 file1 .Sh DESCRIPTION .Nm reads a PBM file .Pf ( Ar flagfile ) and two image files .Pf ( Ar file0 and .Ar file1 ) . All three must have the same size. .Nm generates an output file by selecting pixels from .Ar file0 where .Ar flagfile has 0 pixels and .Ar file1 where .Ar flagfile has 1 pixels. .Pp The output file type is the more general of .Ar file0 Ap s and .Ar file1 Ap s . .Sh AUTHOR der Mouse, .Aq mouse@rodents-montreal.org .