Tim, have a look at h5repack

http://www.hdfgroup.org/HDF5/doc/RM/Tools.html#Tools-Repack

Before coding anything you can experiment with the chunk size and
compression method/level for the image dataset.

Best, G.



-----Original Message-----
From: Hdf-forum [mailto:[email protected]] On Behalf Of Tim
Sent: Thursday, February 06, 2014 11:43 AM
To: HDF Forum
Subject: [Hdf-forum] Is there a best practice for storing image data to be 
viewed with HDFView in a space-efficient way?

I am new to HDF5.

Is there a best practice for storing image data to be viewed with HDFView in a 
space-efficient way?

For example, when importing a 720 x 678 JPEG image that contains 114,173 bytes, 
with HDFView or a Python program, the resulting HDF5 image dataset contains 1.4 
MB (720 x 678 x 3 for the RGB values = 1,464,480 bytes). What is the best 
strategy for compressing this data so that it can still be viewed with HDFView?

Thanks for your kind consideration.

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

_______________________________________________
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