.TL Pbmtoascii User Manual .SH 1 pbmtoascii .LP Updated: 11 August 2002 .br Table Of Contents .SH 2 NAME .LP pbmtoascii - convert a PBM image to ASCII graphics .SH 2 SYNOPSIS .LP \fBpbmtoascii\fR [\fB-1x2\fR|\fB-2x4\fR] [\fIpbmfile\fR] .SH 2 DESCRIPTION .LP .LP This program is part of Netpbm. \fBpbmtoascii\fR reads a PBM image as input and produces a somewhat crude ASCII graphic image as output. .LP To convert back, use asciitopgm. .SH 2 OPTIONS .LP .LP The \fB-1x2\fR and \fB-2x4\fR options give you two alternate ways for the pixels to get mapped to characters. With \fB1x2\fR, the default, each character represents a group of 1 pixel across by 2 pixels down. With \fB-2x4\fR, each character represents 2 pixels across by 4 pixels down. With the 1x2 mode you can see the individual pixels, so it's useful for previewing small images on a non-graphics terminal. The 2x4 mode lets you display larger images on a standard 80-column display, but it obscures pixel-level details. 2x4 mode is also good for displaying PGM images: .DS L pamscale -width 158 | pnmnorm | pamditherbw -threshold .DE should give good results. .SH 2 SEE ALSO .LP asciitopgm pbm .SH 2 AUTHOR .LP Copyright (C) 1988, 1992 by Jef Poskanzer. .br \l'5i' .SH 2 Table Of Contents .LP .IP \(bu NAME .IP \(bu SYNOPSIS .IP \(bu DESCRIPTION .IP \(bu OPTIONS .IP \(bu SEE ALSO .IP \(bu AUTHOR .LP