[fitsbits] Re: conversion fits -> gif

Stephen Walton stephen.walton at csun.edu
Tue Nov 19 16:14:56 EST 2002


In article <araccm$c97$3 at ellebore.saclay.cea.fr>, HL wrote:
> does anyone know of a simple standalone utility to convert from fits -> gif
> ?
> thanks.

Why not just use the NetPBM utilities?

% fitstopnm -min 0 -max 5000 myfitsfile | pnmtojpeg > myjpegfile

fitstopnm is grayscale only for a single-plane FITS image, but a little
shell programming would allow you to write three separate PNM's as your
color planes and then combine them.  

-- 
Stephen Walton, Professor, Dept. of Physics & Astronomy, Cal State
Northridge
stephen.walton at csun.edu




More information about the fitsbits mailing list