Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.naic.edu/~phil/aosoft/map8bittorf.html
Дата изменения: Thu Sep 22 19:49:24 2011
Дата индексирования: Tue Oct 2 06:51:05 2012
Кодировка:

Поисковые слова: п п п п п п
Content-type: text/html Manpage of MAP8BITTORF

MAP8BITTORF

Section: Misc. Reference Manual Pages (1L)
Updated: 3 Jan 1992
Index Return to Main Contents
 

NAME

map8bittorf - convert an 8bit map to a sun raster file (ao)  

SYNOPSIS

map8bittorf -c numcols -r numrows  

DESCRIPTION

map8bittorf is a filter to convert an 8 bit map to a sun raster file. The input is taken from the standard input and the output is written to standard output. The the input map size should be numcols columns (number of horizontal pixels) by numrows rows (number of vertical pixels). There will be no color lookup table included in the output sun raster file.  

OPTIONS

-c numcols
The number of horizontal pixels in the input map.
-r numrows
The number of vertical pixels in the input map.
 

EXAMPLES

Suppose the input map is 640 (hor) by 480 (ver) of 8 bit data. The input file is junk.map and the output is to be called junk.ras. You could then use:

map8bittorf -c 640 -r 480 < junk.map > junk.ras
 

FILES

~phil/util/filters/map8bittorf.c location of source code
 

BUGS

This will not work for 1 bit data.


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
EXAMPLES
FILES
BUGS

This document was created by man2html, using the manual pages.
Time: 21:00:09 GMT, November 03, 2010