Unix/Linux Go Back    

RedHat 9 (Linux i386) - man page for pbmtoascii (redhat section 1)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)

pbmtoascii(1)									    pbmtoascii(1)

       pbmtoascii - convert a portable bitmap into ASCII graphics

       pbmtoascii [-1x2|-2x4] [pbmfile]

       Reads a portable bitmap as input.  Produces a somewhat crude ASCII graphic as output.

       Note that there is no asciitopbm tool - this transformation is one-way.

       The  -1x2 and -2x4 flags give you two alternate ways for the bits to get mapped to charac-
       ters.  With 1x2, the default, each character represents a group of 1 bit across by 2  bits
       down.   With  -2x4,  each character represents 2 bits across by 4 bits down.  With the 1x2
       mode you can see the individual bits, so it's useful for previewing  small  bitmaps  on	a
       non-graphics terminal.  The 2x4 mode lets you display larger bitmaps on a standard 80-col-
       umn display, but it obscures bit-level details.	2x4 mode  is  also  good  for  displaying
       graymaps - "pnmscale -width 158 | pgmnorm | pgmtopbm -thresh" should give good results.


       Copyright (C) 1988, 1992 by Jef Poskanzer.

					  20 March 1992 			    pbmtoascii(1)
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums

All times are GMT -4. The time now is 12:08 AM.