PDS_VERSION_ID = PDS3 RECORD_TYPE = FIXED_LENGTH RECORD_BYTES = 80 OBJECT = TEXT INTERCHANGE_FORMAT = ASCII PUBLICATION_DATE = 1994-10-01 NOTE = "CLEMDCMP USER'S GUIDE" END_OBJECT = TEXT END CLEMDCMP V1.0 CLEMDCMP will decompress a clementine image and format it into one of four formats: 1) decompressed pds image file, with pds labels, the historgram object, and an image object, either the browse image or the full image 2) decompressed image file, no labels 3) decompressed gif image 4) decompressed tiff image Installing and Using Software on a SUN UNIX Workstation The executable for CLEMDCMP was put into a "uuencoded" ascii file that was created from a compressed tar file. This file is located in the BIN subdirectory and is named CLEMDEXE.TZU. To extract the executable type the the following commands: 1) uudecode //SOFTWARE/SUNOS/BIN/CLEMDEXE.TZU (Depending on the SUN platform this path may be in lower case.) This will create a file named CLEMDEXE.TAR.Z. 2) uncompress -v CLEMDEXE.TAR.Z This will create a file named CLEMDEXE.TAR. 3) tar xvf CLEMDEXE.TAR This will create the executable, "clemdcmp". The source for "clemdcmp" and a makefile to build the program is located in the SOURCE subdirectory in the file, CLEMDSRC.TZU. This file is an ascii file created from a compressed tar file. To extract the source files and makefile type the following commands: 1) uudecode //SOFTWARE/SUNOS/SOURCE/CLEMDSRC.TZU (Depending on the SUN platform this path may be in lower case.) This will create a file named CLEMDSRC.TAR.Z. 2) uncompress -v CLEMDSRC.TAR.Z This will create a file named CLEMDSRC.TAR. 3) tar xvf CLEMDSRC.TAR This will create the following files. bitstrm.c clemdcmp.c clemdcmp.mak decomp.c huffman.c jpeg_c.h pds.c pds.h writegif.c This program has been tested on a SUN SPARCstation running version 4.1.3 of SunOS. It was compiled and linked using the acc compiler (This is an ANSI compliant compiler). The makefile clemdcmp.mak will compile and link the program using the following command: make -f clemdcmp.mak CLEMDCMP has four command-line arguments. The first argument indicates the output format of the decompressed image and the following are the options: -p = decompressed pds image file -n = decompressed unlabeled file -t = decompressed tiff file -g = decompressed gif file The second argument indicates which image object to output: -i = full resolution image -b = browse image The third argument is the filename of the input compressed clementine data file. The fourth argument is the filename of the output decompressed clementine image.