AVS Modules write compressed image Lawrence Berkeley Laboratory 24 Jan 1992 NAME write compressed image - write compressed image file to disk from a field SUMMARY Name write compressed image Type data Inputs field 2D 4-vector byte Outputs none Parameters _N_a_m_e _T_y_p_e _D_e_f_a_u_l_t _M_i_n _M_a_x Output File Browser not applicable DESCRIPTION The "write compressed image" module provides the same functionality as the AVS-supplied "write image" module, with the added twist that the written image will be in a "compressed" format. That is, a file is written using the AVS .x file format, then compressed with the compress utility present on your UNIX(tm) system. An AVS image may be decompressed using the UNIX(tm) uncompress utility, or by using the sibling module "read compressed image." Upon entrance to the computation function, this module first writes a "normal" (ie uncompressed) AVS .x file. After that is finished, that file is compressed using the system-supplied "compress" utility. PARAMETERS Output Image The name of the compressed image file. A ".Z" suffix will be added to whatever name the user gives, courtesy of the system compress utility. OUTPUTS none RELATED MODULES read compressed image, write image, write image SEE ALSO UNIX(tm) compress, uncompress AVS Modules write compressed image Lawrence Berkeley Laboratory 24 Jan 1992 24 Jan 1992 The source code, image_io.c, contains two very useful modules. They will read and write compressed AVS image files, where the UNIX-supplied un/compress are used for un/compressing the .x files. These modules have been tested on Sun and Stardent, uh, KPC Titan machines. They HAVE NOT BEEN TESTED on anything alse. wes