Cfitsio Toolkit - matlab.io.fits.setCompressionType


: setCompressionType(file, comptype)

Set compression type for writing FITS images.

This is the equivalent of the cfitsio fits_set_compression_type function.

Inputs

file - opened fits file.

comptype - compression type. Valid comptype values are: ’GZIP’, ’GZIP2’, ’RICE’, ’PLIO’, ’HCOMPRESS’ or ’NOCOMPRESS’.

Outputs

None