CP TO RAW - Copy SPIDER file to a 8-bit raw image

(02/08/99)

PURPOSE

Copies a standard SPIDER file to an 8 bit integer file   Example.

SEE ALSO

CP FROM ASCII [Copy ASCII text file to SPIDER file]
CP FROM EMI [Copy EMISPEC format file to SPIDER file]
CP FROM MRC [Copy MRC file to SPIDER file]
CP FROM NIK [Copy Nikon Coolscan format file to SPIDER file]
CP FROM PDB [Copy PDB file to SPIDER format]
CP FROM RAW [Copy Raw Image to SPIDER file]
CP FROM TERM [Copy Terminal input to SPIDER image/volume]
CP FROM TIFF [Copy TIFF format file to SPIDER file]
CP FROM VAX [Copy VAX SPIDER file to a Unix SPIDER file]
CP TO ASCII [Copy SPIDER file to ASCII text format]
CP TO BRIX [Copy SPIDER volume to BRIX file for "O" input]
CP TO MRC [Copy SPIDER files To MRC format files]
CP TO OPEND [Copy SPIDER file To Opposite Byte Endian]
CP TO POST [Copy SPIDER image to a POSTscript image]
CP TO RAW [Copy SPIDER file to a 8-bit raw image]
CP TO TIFF [Copy SPIDER file to a TIFF format]

USAGE

.OPERATION: CP TO RAW

.INPUT FILE: PIC001
[Enter the name of the image file to be copied.]

.NORMALIZE THE OUTPUT TO 0-255? (Y/N): Y
[If desired, the image file will be normalized over 0..255.]

.KEEP THE HEADER? (Y/N): Y
[The output file will keep the SPIDER header label.]

.PAD TO INCREMENT OF 4 IF NECESSARY? (Y/N): Y
[Will make each line have a number of pixels that is evenly divisible by four. Some devices (such as the Pixar) require this.]

.EIGHT BIT OUTPUT FILE: COP001
[Enter the file that will contain the copy. The size of the raw file will be shown after copying is complete.]

SUBROUTINES

COPYU, UNIXTOUNIX8

CALLER

COPY1