matlab.io.fits.imgCompress
Compress HDU from one file into another
Syntax
matlab.io.fits.imgCompress(infptr,outfptr)
Description
matlab.io.fits.imgCompress(infptr,outfptr) initializes the output
HDU, copies all the keywords, and compresses the input image, writing the compressed
data to the output HDU.
Examples
Tips
This function corresponds to the
fits_img_compressfunction 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.