save an img in sampleEvent.h5