hdfcomp(1)

hdfcomp1

Compress 8-bit raster images in an hdf file

Usage

hdfcomp output-filename [{-c | -r | -i}] input-filename-1 [{-c | -r | -i}] input-filename-2 ...

Overview

hdfcomp reads RIS8 images from a set of HDF files, compresses them and stores the compressed data in a second HDF file. If the output HDF file exists, the compressed images will be appended to it.

Options

-r

No Compression. Apply no compression to the output data. (the default).

-c

Run length coding. Compress the output data using run-length encoding.

-i

IMCOMP Compression. Compress the output data using the IMCOMP method.

Examples

A directory contains twenty files named "storm001", "storm002", ... "storm020". Each of these files contains a single RIS8 image. To compress these images using run-length encoding and store them in a file named "altcomp.hdf", use the following hdfcomp command:

        hdfcomp allcomp.hdf -c storm*.hdf

Releases

16 releases since Debian 1.3 (Bo); the text changed 2 times.

  1. 1.3–2.1
  2. 2.2
  3. 3.0–13

-c since Debian 3.0 (Woody); -i since Debian 3.0 (Woody); -r since Debian 3.0 (Woody).

From hdf4-tools 4.3.0-1+b1 in Debian 13 (Trixie). Parsed by carta from the page's man source.