store and load slice components in and from png files