tf_img_load_short

Name

tf_img_load_short -- 

Synopsis

TinyFitsImg * tf_img_load_short (char * filename);

Arguments

filename

Description

Loads a FITS file with short integers into a TinyFitsImg object. This differs from tf_img_load_short() in that it will rescale the shorts into floats if it finds the TFSCALE and TFZERO keywords in the FITS header. These are written by tinyfits's tf_img_save_short() routine for just this purpose.

Return value

a newly created TinyFitsImg object with the contents of the file