On Jan 31, 2014 10:00 AM, <[email protected]> wrote:

> Send Hdf-forum mailing list submissions to
>         [email protected]
>
> To subscribe or unsubscribe via the World Wide Web, visit
>
> http://mail.lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
>
> or, via email, send a message with subject or body 'help' to
>         [email protected]
>
> You can reach the person managing the list at
>         [email protected]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Hdf-forum digest..."
>
>
> Today's Topics:
>
>    1. Re: Converting image files to HDF5 (George N. White III)
>    2. Re: Problem with property lists (Rob Latham)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 30 Jan 2014 14:10:36 -0400
> From: "George N. White III" <[email protected]>
> To: HDF Users Discussion List <[email protected]>
> Subject: Re: [Hdf-forum] Converting image files to HDF5
> Message-ID:
>         <
> caktop44-xm5vvxuqpnurnhigpjjmoxrk5g-qw8sbdv2nojj...@mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> I use GDAL for mapped image data (by creating a .vrt file for each image).
>   ImageMagick has support the formats you mention.   If you are hoping to
> interpret indexed color images as data you need to watch for optimizations
> that can scramble the original relationship between colors and data values
> (some tools used to apply annotations will "optimize" the color palette,
> presumably to "free up" some colors for annotations, but they can leave you
> with an image where similar colors are far apart in the color LUT).
>
>
> On Thu, Jan 30, 2014 at 1:39 PM, Gheni Abla <[email protected]> wrote:
>
> > Deal All,
> >
> > I needed to convert PNG, TIFF, and BMP files to HDF5 image format in
> batch
> > mode.
> > Is there any command line tools (or libraries I can use in C++ or Python
> )
> > exist for this?
> >
> > Thanks in advance.
> >
> > --Gheni Abla
> >
> >
> >
> >
> >
> > _______________________________________________
> > Hdf-forum is for HDF software users discussion.
> > [email protected]
> >
> >
> http://mail.lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
> >
>
>
>
> --
> George N. White III <[email protected]>
> Head of St. Margarets Bay, Nova Scotia
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://mail.lists.hdfgroup.org/pipermail/hdf-forum_lists.hdfgroup.org/attachments/20140130/c82f295b/attachment-0001.html
> >
>
> ------------------------------
>
> Message: 2
> Date: Thu, 30 Jan 2014 13:07:06 -0600
> From: Rob Latham <[email protected]>
> To: <[email protected]>
> Subject: Re: [Hdf-forum] Problem with property lists
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset="windows-1252"; format=flowed
>
>
>
> On 01/21/2014 02:37 AM, Matthieu Dorier wrote:
> > Indeed that was the problem, one of the groups was not closed.
>
> Sometimes it can be hard to figure out which HDF doodad is still open.
> I use this (c code) snippet to point to the culprit:
>
>
>    norphans = H5Fget_obj_count(file->file_id, H5F_OBJ_ALL);
>    if (norphans > 1) { /* expect 1 for the file we have not closed */
>        int i;
>        H5O_info_t info;
>        char name[64];
>        hid_t * objects = calloc(norphans, sizeof(hid_t));
>        H5Fget_obj_ids(file->file_id, H5F_OBJ_ALL, -1, objects);
>        for (i=0; i<norphans; i++) {
>            H5Oget_info(objects[i], &info);
>            H5Iget_name(objects[i], name, 64);
>            printf("%d of %zd things still open: %d with name %s of type
> %d", i, norphans, objects[i], name, info.type);
>        }
>    }
>
> ==rob
>
> --
> Rob Latham
> Mathematics and Computer Science Division
> Argonne National Lab, IL USA
>
>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> Hdf-forum is for HDF software users discussion.
> [email protected]
>
> http://mail.lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
>
>
> ------------------------------
>
> End of Hdf-forum Digest, Vol 55, Issue 43
> *****************************************
>
_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org

Reply via email to