Datasets not displaying as images in HDFView 2.10

Hi all,
I've been following the image specification at
http://www.hdfgroup.org/HDF5/doc/ADGuide/ImageSpec.html to get datasets to
display as images in HDFView, which is incredibly useful when searching
through old data files. My implementation seems to work perfectly fine in
HDFView 2.7 and 2.9, but does not work in HDFView 2.10.

I have attached a small demonstration file. I believe this obeys spec (and
displays as desired in HDFView 2.9) but could someone point out if I am
wrong? I should note that the images in samples/hdf5_test.h5 as distributed
with HDFView do display correctly in v2.10.

Cheers,
Martijn

img_test.h5 (353 KB)

Martijn-

My reading of the spec indicates you are correct. In HDFView version 2.10 we fixed numerous instances where exceptions were not being caught. In this case, catching one particular exception revealed a bug in the code that prevents the action you expect. I have created a bug report (ref: JAVA-1837) and will see that it is addressed in one of the next releases.

Meanwhile, you should be able to view your datasets as images by using the context menu (right-click the dataset name in the tree view), selecting the “Open As…” item, and selecting the Image” button along with any other desired parameters.

···

--
Joel

Joel Plutchak The HDF Group http://hdfgroup.org<http://hdfgroup.org/>
1800 S. Oak St., Suite 203 Champaign IL USA 61820

From: Martijn Jasperse [mailto:m.jasperse@gmail.com]
Sent: Sunday, May 18, 2014 9:58 PM
To: HDF Users Discussion List
Subject: [Hdf-forum] Datasets not displaying as images in HDFView 2.10

Hi all,
I've been following the image specification at http://www.hdfgroup.org/HDF5/doc/ADGuide/ImageSpec.html to get datasets to display as images in HDFView, which is incredibly useful when searching through old data files. My implementation seems to work perfectly fine in HDFView 2.7 and 2.9, but does not work in HDFView 2.10.

I have attached a small demonstration file. I believe this obeys spec (and displays as desired in HDFView 2.9) but could someone point out if I am wrong? I should note that the images in samples/hdf5_test.h5 as distributed with HDFView do display correctly in v2.10.

Cheers,
Martijn