#include <CompressionStrategy.h>
The interface for implementing compression actions.
To create a custom action, better inherit CompressionActionMixin
, which simplifies implementation. In this case, the only method which must be provided is:
Internally, it must call Cfitsio::ImageCompression::compress(fitsfile*, const Compression&)
(maybe through Compress::apply(fitsfile*, const Compression&)
and return true
whenever possible. If the action is not compatible with the initializer, then it must simply return false
.
Public Member Functions | |
Construction | |
CompressionAction ()=default | |