👤
Home Man
Search
Today's Posts
Register

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:
Select Section of Man Page:
Select Man Page Repository:

CentOS 7.0 - man page for rasttopnm (centos section 0)

Rasttopnm User Manual(0)						 Rasttopnm User Manual(0)

NAME
       rasttopnm - convert a Sun rasterfile to a PNM image

SYNOPSIS
       rasttopnm

       [-index]

       [rastfile]

DESCRIPTION
       This program is part of Netpbm(1)

       rasttopnm reads a Sun rasterfile as input and produces a PNM image as output.  The type of
       the output file depends on the input file - if it's black and white,  rasttopnm	writes	a
       PBM  image.  If it's grayscale, rasttopnm writes a PGM.	If it's color, rasttopnm writes a
       PPM.  The program tells you which type it is generating.

OPTIONS
       -index This odd option tells rasttopnm to use the color map indices in the  raster  as  if
	      they are the color values.

	      In a colormapped Sun rasterfile, the header of the file contains a color map, asso-
	      ciating each unique color that occurs in the file with an index number.  The raster
	      portion of the file then represents the color of a pixel with one of those colormap
	      indices.

	      This option has found use as follows: take a regular grayscale  Sun  rasterfile  in
	      which  all the grayscale value are represented, so the colormap indices are identi-
	      cal to the color values.	Modify its color map so as to alter  the  colors  in  the
	      image,  in  particular  to  equalize  the colors.  With that modified rasterfile as
	      input, rasttopnm without -index produces the modified image.  But with  -index,  it
	      produces the original unmodified image.

	      This option was new in Netpbm 10.56 (September 2011).

SEE ALSO
       pnmtorast(1) , pnm(1)

AUTHOR
       Copyright (C) 1989, 1991 by Jef Poskanzer.

netpbm documentation			  16 August 2011		 Rasttopnm User Manual(0)


All times are GMT -4. The time now is 07:48 PM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
×
UNIX.COM Login
Username:
Password:  
Show Password





Not a Forum Member?
Forgot Password?