matlab.io.fits.setCompressionType
Set image compression type
Syntax
matlab.io.fits.setCompressionType(fptr,comptype)
Description
matlab.io.fits.setCompressionType(fptr,comptype) sets the image
compression algorithm to use when writing images to the FITS file specified by
fptr.
You can specify comptype as one of these values:
"GZIP""GZIP2""RICE""PLIO""HCOMPRESS""NOCOMPRESS"
Examples
Tips
This function corresponds to the
fits_set_compression_typefunction in the CFITSIO library C API.To use this function, you must be familiar with the CFITSIO C interface. You can access the CFITSIO documentation at the CFITSIO website.