~ubuntu-branches/debian/sid/libhdf4/sid

« back to all changes in this revision

Viewing changes to debian/man/hdftopal.1

  • Committer: Bazaar Package Importer
  • Author(s): Philippe Troin
  • Date: 2001-08-17 18:15:39 UTC
  • Revision ID: james.westby@ubuntu.com-20010817181539-dxk88azjdkntsxbm
Tags: 4.1r4-13
* Fixed upstream version detection in debian/rules.
* Change all instances of the linux C preprocessor symbol to __linux__
  to avoid breaking other packages; patch courtesy of James Troup
  <james@nocrew.org>; closes: #108921.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
.\" man page by Jim Van Zandt <jrv@vanzandt.mv.com>         -*- nroff -*-
 
2
.TH HDFTOPAL 1 "November 6, 1999"
 
3
.SH NAME
 
4
hdftopal, paltohdf \- convert between a palette in an HDF file and a raw palett
 
5
e in a non-HDF file
 
6
.SH SYNOPSIS
 
7
\fBhdftopal\fP \fIhdf-pallette-file\fP \fIraw-pallette-file\fP
 
8
.br
 
9
\fBpaltohdf\fP \fIraw-pallette-file\fP \fIhdf-pallette-file\fP
 
10
.SH DESCRIPTION
 
11
\fBhdftopal\fP converts a palette in an HDF file to a raw
 
12
palette in an non-HDF file. The raw palette will have 768 bytes with
 
13
the first 256 bytes representing red intensity values, the second 256
 
14
bytes representing green intensity values, and the third 256 bytes
 
15
representing blue intensity values.
 
16
.P
 
17
\fBpaltohdf\fP performs the converse conversion, from raw palette data
 
18
to the HDF palette format. The raw palette data must have 768 bytes
 
19
organized in the following order: first, 256 contiguous red intensity
 
20
values, then 256 contiguous green intensity values, then 256
 
21
contiguous blue intensity values. The palette in the HDF file will
 
22
have the RGB values pixel-interlaced, as follows:
 
23
.nf
 
24
 
 
25
red-value green-value blue-value red-value green-value blue-value...
 
26
 
 
27
.fi
 
28
This is the standard HDF format for 8-bit palettes.
 
29
.P
 
30
If an HDF palette format file is specified that doesn't exist, it is
 
31
created before the converted data is stored. If an HDF palette format
 
32
file is specified that already exists, the converted data is appended
 
33
to the file.
 
34
.SH "SEE ALSO"
 
35
\fBhdf\fP(5)