procedure setfitstype

Set the (FITS extension) type info of given fits to either image or bintable

Syntax
setfitstype VAR [, extension], [ /image, /bintable]

Arguments
VAR:   A named variable which contains a FITS, a FITS list, or a string array
extension:   Optional in case of a FITS list, which element to set


Switches
/image:   set the FITS type to image
/bintable:   set the FITS type to bintable