If used on a non-byte-swapped machine the image histogram is un-swapped.
infile
The name of compressed image file.
outfile
The name of uncompressed image file.
format-code
Select from the following list:
1 - SFDU/PDS format [default]
2 - FITS format
3 - VICAR format
4 - unlabelled binary array
datri@convex.com, 11-15-91 added recognition of - as stdout for output filename; disabled various messages; directed messages to stderr; added exit status
DEC89 Modified program to handle both Voyager and Viking images.
OCT89 Converted Voyager decompression program to handle Viking compressed images. Changed obuf to 'unsigned' to simplify computation of checksum.
AUG89 Added code to get command line arguments for filenames and output format; routines to free memory used by the Huffman tree); fixed the SFDU label output length; and modified the I/O routines so that the open for Host type 2 uses binary I/O.
JUN89 Fixed READVAR, to get length on 16-bit unswapped hosts.
JUL88 C driver to decompress standard Voyager Compressed images by Mike Martin 1989/12/02.