HDFTOPAL(1) General Commands Manual HDFTOPAL(1)NAME
hdftopal, paltohdf - convert between a palette in an HDF file and a raw palett e in a non-HDF file
SYNOPSIS
hdftopal hdf-pallette-file raw-pallette-file
paltohdf raw-pallette-file hdf-pallette-file
DESCRIPTION
hdftopal converts a palette in an HDF file to a raw palette in an non-HDF file. The raw palette will have 768 bytes with the first 256
bytes representing red intensity values, the second 256 bytes representing green intensity values, and the third 256 bytes representing
blue intensity values.
paltohdf performs the converse conversion, from raw palette data to the HDF palette format. The raw palette data must have 768 bytes orga-
nized in the following order: first, 256 contiguous red intensity values, then 256 contiguous green intensity values, then 256 contiguous
blue intensity values. The palette in the HDF file will have the RGB values pixel-interlaced, as follows:
red-value green-value blue-value red-value green-value blue-value...
This is the standard HDF format for 8-bit palettes.
If an HDF palette format file is specified that doesn't exist, it is created before the converted data is stored. If an HDF palette format
file is specified that already exists, the converted data is appended to the file.
SEE ALSO hdf(5)
November 6, 1999 HDFTOPAL(1)
Solaris 2.6, using CDE:
agh. I accidentally set an ugly palette as my Home Session. The problem is, when I change the palette back to Default, I am informed that my change will be apparent in my next session. But when I log out and in, it's still the Ugly Palette. Doesn't matter if I set the... (1 Reply)
I found a script from HDF-EOS for converting HDF to TIF, i did all steps but when i run there is some errors.
Link of instructions: http://newsroom.gsfc.nasa.gov/sdptoolkit/HEG/HEG_Batch_job_Help.txt
What I do rong about script?
#! /bin/sh
# in this script it is assumed that HEG... (6 Replies)