AstrOmatic forum

Full Version: TIFF to FITS program available
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
As this issue might come up on this forum, I thought that I would let people know that I wrote a program to go the opposite direction from STIFF. It is called t2f and converts TIFF images, such as might be produced by a scanner, into FITS images. It can deal with either 8 or 16-bit-per-color TIFF files and can use any or all of the three colors to produce the monochrome output. The libtiff library is used for TIFF image and header access and my WCSTools library is used for FITS header and image access. Complete source code is available via anonymous FTP at

ftp://cfa-ftp.harvard.edu/pub/gsc/WCSToo...4.1.tar.gz

The versions of WCSTools libwcs and libtiff included are not up to date, but the main programs, t2f, tshrink, and tsize, should work with the current releases of those libraries. Our new custom-built plate scanner goes direct to FITS, so we don't use t2f very often anymore.

-Doug Mink
Telescope Data Center
Harvard-Smithonian Center for Astrophysics
Thanks for this contribution Doug! Do you compensate for the gamma, too ?

Emmanuel.
Emmanuel Bertin Wrote:Do you compensate for the gamma, too ?

No.

-Doug
Reference URL's