---
name: "h52gif"
section: "1"
platform: "linux"
package: "hdf5-tools"
version: "1.14.5+repack-3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/h52gif"
---

# h52gif(1)

Converts an HDF5 file to a GIF file.

## NAME

h52gif - Converts an HDF5 file to a GIF file.

## SYNOPSIS

**h52gif** h5\_file gif\_file  **-i** h5\_image \[ **-p** h5\_palette \]

## DESCRIPTION

h52gif accepts as input the HDF5 file h5\_file and the names of images and associated palettes within that file as input and produces the GIF file gif\_file, containing those images, as output.

h52gif expects at least one h5\_image. You may repeat

\-i h5\_image \[-p h5\_palette\]

up to 50 times, for a maximum of 50 images.

## OPTIONS

- **-i h5\_image**

  Image option, specifying the name of an HDF5 image or dataset containing an image to be converted

- **-p h5\_palette**

  Palette option, specifying the name of an HDF5 dataset containing a palette to be used in an image conversion

## SEE ALSO

[*h5dump*(1)](/h5dump/1.md), [*h5ls*(1)](/h5ls/1.md), [*h5diff*(1)](/h5diff/1.md), [*h5repart*(1)](/h5repart/1.md), [*h5import*(1)](/h5import/1.md), [*gif2h5*(1)](/gif2h5/1.md), *h5perf*(1)
