Split image with straight borders divided into several parts