Linux

  1. Home
  2. Computing & Technology
  3. Linux
Linux / Unix Command: pcxtoppm
Command Library

NAME

pcxtoppm - convert a PCX file into a portable pixmap  

SYNOPSIS

pcxtoppm [-stdpalette] [pcxfile]  

DESCRIPTION

Reads a PCX file as input. Produces a portable pixmap as output. Supported PCX types are:
Colormapped files with 2-16 colors.
"Packed pixel" format (1, 2 or 4 bits/pixel, 1 plane) or bitplane format (1 bit/pixel, 1-4 planes). The program checks the colormap and uses an internal one if the provided colormap is completely black.
Colormapped files with 256 colors
8 bits/pixel, 1 plane, colormap at the end of the file.
24bit truecolor files
24bit RGB: 8 bits/pixel, 3 planes.
32bit truecolor files
24bit RGB + 8bit intensity: 8 bits/pixel, 4 planes.
 

OPTIONS

-stdpalette
Enforce the use of the internal colormap for files with 16 colors or less.
 

SEE ALSO

ppmtopcx(1), ppm(5)  

Important: Use the man command (% man) to see how a command is used on your particular computer.

>> Linux/Unix Command Library

>> Shell Command Library

Explore Linux

About.com Special Features

Build Your Own Website

Step-by-step advice on how to do everything from choosing a Web host to promoting your content. More >

Connect Your Home Computers

Easy ways to connect two computers for networking purposes. More >

Linux

  1. Home
  2. Computing & Technology
  3. Linux

©2009 About.com, a part of The New York Times Company.

All rights reserved.