.TH pnmtorast 1 "12 January 1991" .IX pnmtorast .SH NAME pnmtorast - convert a portable pixmap into a Sun rasterfile .SH SYNOPSIS .B pnmtorast .RB [ -nomap ] .RB [ -standard | -rle ] .RI [ pnmfile ] .SH DESCRIPTION Reads a portable pixmap as input. Produces a Sun rasterfile as output. .IX Sun .IX rasterfile .PP Color values in Sun rasterfiles are eight bits wide, so .I pnmtorast will automatically scale colors to have a maxval of 255. An extra .I pnmdepth step is not necessary. .SH OPTIONS .PP The .B -nomap flag tells .I pnmtorast to skip trying to figure out if a color input file can be written with a colormap, and to just go ahead and write a 24-bit RGB file. .PP The .B -standard flag forces the result to be in RT_STANDARD form; the .B -rle flag, RT_BYTE_ENCODED, which is smaller but, well, less standard. The default is .BR -rle . .PP All flags can be abbreviated to their shortest unique prefix. .SH "SEE ALSO" rasttopnm(1), pbmplus(1) .SH AUTHOR Copyright (C) 1989, 1991 by Jef Poskanzer. .\" Permission to use, copy, modify, and distribute this software and its .\" documentation for any purpose and without fee is hereby granted, provided .\" that the above copyright notice appear in all copies and that both that .\" copyright notice and this permission notice appear in supporting .\" documentation. This software is provided "as is" without express or .\" implied warranty.