The WRITE_SRF procedure writes an image and its color table vectors to a Sun Raster File (SRF).
WRITE_SRF only writes 32-, 24-, and 8-bit-deep rasterfiles of type RT_STANDARD. Use the UNIX command
to convert these files to 1-bit deep files. See the file
for the structure of Sun rasterfiles.
This routine is written in the IDL language. Its source code can be found in the file
subdirectory of the IDL distribution.
The array to be written to the SRF. If Image has dimensions (3, n,m ), a 24-bit SRF is written. If Image is omitted, the entire current graphics window is read into an array and written to the SRF file. Image should be of byte type, and in top to bottom scan line order.
Set this keyword to write the image from the top down instead of from the bottom up. This setting is only necessary when writing a file from the current IDL graphics window; it is ignored when writing a file from a data array passed as a parameter.