Contents of fts2gif.tar.gz: README - this file fts2gif.c - source of my program raw2gif - Redhat 6.x/7.x binary from giflib-3.0 package raw2gif.sol - Solaris binary (rename it to "raw2gif") "fts2gif.c" is my veeery simple program that reads the FITS file, computes IRAF's zscale params and pipes raw gray data to "raw2gif" utility which creates GIF image. There is also a temporary file "%%fts2gif.PIDNO" created in /tmp, used by "raw2gif" and then deleted. Only 2-dimensional images are supported, no extensions, no binary tables, just simple images. Usage: fts2gif [-ngray nlevels] [fts_file [gif_file]] If argument(s) is omitted, uses stdin/stdout. The only option, "-ngray" allows to change default number of levels of gray (32). "fts2gif" is pretty simple. Also, it can be a memory hog for big images as it reads the whole image into double array. I don't think it make do any harm other than accidental overwrite of the most important file you have :-)) Still, as usual, you use it on your own (standard disclaimer, blah, blah) I hope it can be useful. Feel free to modify, enhance etc. the code. If you add/change something important, let me know. regards, Michal. Michal Szymanski (msz@astrouw.edu.pl)