[DF-2946] implement saving in imageSplitter