Hi Peeter,

It is great to know that someone is using the tool :-)

In the 1.6.6 release the h52gif and gif2h5 converters were rewritten to use 
High-Level Image APIs (http://www.hdfgroup.org/HDF5/doc/HL/RM_H5IM.html) that 
can handle palettes stored in an HDF5 file. Apparently (to be verified) -p 
became obsolete and was removed without proper announcement and documentation.

Are you getting the expected behavior with the 1.8.10 version (except -p 
option, of course)? If not, please report the issues to [email protected] and 
we will go from there.

Thank you!

Elena
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Elena Pourmal  The HDF Group  http://hdfgroup.org   
1800 So. Oak St., Suite 203, Champaign IL 61820
217.531.6112
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



On Nov 27, 2012, at 5:24 AM, Peeter Puusemp wrote:

> Hi, 
> 
> I am trying to use h52gif with the -p switch to specify a palette to be used, 
> but it does not seem to work. 
> 
> I am using HDF5 version 1.8.10. 
> 
> By the documentation h52gif should accept the -p switch: 
> http://www.hdfgroup.org/HDF5/doc/RM/Tools.html#Tools-H52GIF
> 
> On the other hand h52gif binary does not recognize it: 
> $ h52gif 
> Usage: h52gif <h5_file> <gif_file> -i <h5_image>
>        h52gif -V 
>         Print HDF5 library version and exit 
> h52gif expects *at least* one h5_image. 
> 
> The follow command has the same output: 
> $ h52gif /data/path/h5file.h5 output.gif -i CTTH_TEMPER -p 03-PALETTE 
> 
> The source code of the version 1.8.10 does not hint to the the -p switch 
> http://fossies.org/dox/hdf5-1.8.10/hdf2gif_8c_source.html
> 
> whereas the version 1.6.5 is one of the last ones that does 
> http://www.nco.ncep.noaa.gov/pmb/codes/nwprod/gempak/nawips2/extlibs/HDF5/v1.6.5/tools/gifconv/hdf2gif.c
> 
> What could be the case? 
> 
> Best regards, 
> Peeter
> _______________________________________________
> Hdf-forum is for HDF software users discussion.
> [email protected]
> http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

Reply via email to