home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
swCHIP 1991 January
/
swCHIP_95-1.bin
/
demo
/
wit4711
/
lib
/
help
/
io
/
pbm2wit.
/
pbm2wit.bin
Wrap
Text File
|
1995-12-09
|
918b
|
17 lines
OPERATOR
pbm2wit --- converts a PBM data file to a WiT image
DESCRIPTION% %The pbm2wit operator reads in a data file corresponding to one of %the
portable bit-mapped (PBM) file formats and outputs a WiT image. %Bit-mapped
(PBM), greyscale (PGM) or color (PPM) data files may be read. %Additionally,
image data can be presented in either ASCII text %or raw formats. %PBM file
types are denoted in the first line of the file. The codes %P1 through P6
correspond to bit-mapped/ASCII, greyscale/ASCII, %color/ASCII, bit-mapped/raw,
greyscale/raw and color/raw, respectively. %Each such PBM file is organized in
row/column order, with the dimensions %of the image being specified on the
second row of the file. %The one argument to the pbm2wit operator is the
filename %parameter which specifies the file to be read. %File extensions (eg:
.pbm) must be provided by the user. % %