[DF-2946] implement imageSplitter helper