A script to split image in multiple chunks based on straight separators