| Module | RFits::Compressible |
| In: |
lib/rfits/rfits.rb
|
A set of routines for setting and retrieving compression characterstics.
| COMPRESSION_TYPE_MAP | = | { IO::Proxy::RICE_1 => :rice, IO::Proxy::GZIP_1 => :gzip, IO::Proxy::PLIO_1 => :plio, IO::Proxy::HCOMPRESS_1 => :hcompress |
| COMPRESSION_DIM_KEY | = | 'ZNAXIS' |
| COMPRESSION_TYPE_KEY | = | 'ZCOMPTYPE' |
| COMPRESSION_TILE_KEY_ROOT | = | 'ZTILE' |
| COMPRESSION_VAR_KEY_ROOT | = | 'ZNAME' |
| COMPRESSION_VAR_VAL_ROOT | = | 'ZVAL' |
| COMPRESSION_NOISE_BIT_NAME_VALUE | = | 'NOISEBIT' |
| COMPRESSION_SCALE_NAME_VALUE | = | 'SCALE' |
| COMPRESSION_SMOOTH_NAME_VALUE | = | 'SMOOTH' |
Activate compression on the image. "options" is a hash with the following keys:
Set the compression type of the image. Possible values: :rice, :gzip, :plio, :hcompress
image.compression_type = :gzip