Conversion of inverted images from h5 to png.