Store image in hdf5 first commit