splits out image top and bottom into separate files