asciitopgm(1)


NAME

   asciitopgm - convert ASCII graphics into a portable graymap

SYNOPSIS

   asciitopgm [-d divisor] height width [asciifile]

DESCRIPTION

   Reads  ASCII  data  as  input.   Produces a portable graymap with pixel
   values which are an approximation of  the  "brightness"  of  the  ASCII
   characters,  assuming  black-on-white  printing.   In  other  words,  a
   capital M is very dark, a period is ver light, and a  space  is  white.
   Input  lines  which  are  fewer than width characters are automatically
   padded with spaces.

   The divisor argument is a floating-point number  by  which  the  output
   pixels  are  divided;  the  default  value is 1.0.  This can be used to
   adjust the brightness of the graymap: for example, if the image is  too
   dim, reduce the divisor.

   In  keeping  with  (I  believe) Fortran line-printer conventions, input
   lines beginning with a + (plus) character are assumed  to  "overstrike"
   the previous line, allowing a larger range of gray values.

   This  tool contradicts the message in the pbmtoascii manual: "Note that
   there is no asciitopbm tool - this transformation is one-way."

BUGS

   The table of ASCII-to-grey values is subject to interpretation, and, of
   course, depends on the typeface intended for the input.

SEE ALSO

   pbmtoascii(1), pgm(5)

AUTHOR

   Wilson H. Bent. Jr. (whb@usc.edu)

                           26 December 1994                  asciitopgm(1)


More Linux Commands

manpages/Tcl_RegisterChannel.3.html
Tcl_RegisterChannel(3) - buffered I/O facilities using chann
The Tcl channel mechanism provides a device-independent and platform-independent mechanism for performing buffered input and output operations on a variety of f

manpages/curl_free.3.html
curl_free(3) - reclaim memory that has been obtained through
curl_free reclaims memory that has been obtained through a libcurl call. Use curl_free() instead of free() to avoid anomalies that can result from differences i

manpages/get_current_dir_name.3.html
get_current_dir_name(3) - Get current working directory.....
These functions return a null-terminated string containing an absolute pathname that is the current working directory of the calling process. The pathname is re

manpages/DisplayPlanes.3.html
DisplayPlanes(3) - Display macros and functions (Man Page)
The AllPlanes macro returns a value with all bits set to 1 suitable for use in a plane argument to a procedure. The BlackPixel macro returns the black pixel val

manpages/Tcl_ConvertToType.3.html
Tcl_ConvertToType(3) - manipulate Tcl object types (ManPage)
The procedures in this man page manage Tcl object types. They are used to register new object types, look up types, and force conversions from one type to anoth

manpages/getppid.2.html
getppid(2) - get process identification - Linux manual page
getpid() returns the process ID of the calling process. (This is often used by routines that generate unique temporary filenames.) getppid() returns the process

manpages/glVertex4fv.3gl.html
glVertex4fv(3gl) - specify a vertex - Linux manual page.....
glVertex commands are used within glBegin/glEnd pairs to specify point, line, and polygon vertices. The current color, normal, and texture coordinates are assoc

manpages/grub2-mkimage.1.html
grub2-mkimage(1) make a bootable image of GRUB (Man Page)...
Make a bootable image of GRUB. -c, --config=FILE embed FILE as an early config -C, --compression=(xz|none|auto) choose the compression to use for core image -d,

manpages/sched_yield.2.html
sched_yield(2) - yield the processor - Linux manual page....
sched_yield() causes the calling thread to relinquish the CPU. The thread is moved to the end of the queue for its static priority and a new thread gets to run.

manpages/ttk_treeview.n.html
ttk_treeview(n) hierarchical multicolumn data display widget
The ttk::treeview widget displays a hierarchical collection of items. Each item has a textual label, an optional image, and an optional list of data values. The

manpages/XML::Parser::Style::Tree.3pm.html
XML::Parser::Style::Tree(3pm) - (unknown subject) (ManPage)
This module implements XML::Parsers Tree style parser. When parsing a document, parse() will return a parse tree for the document. Each node in the tree takes t

manpages/plasmoidviewer.1.html
plasmoidviewer(1) - Run Plasma widgets in their own window
plasmoidviewer is a graphical tool allowing developers to test Plasma applets. Only installed applets will be found. kbuildsycoca4 may need to be run for newly-





We can't live, work or learn in freedom unless the software we use is free.