TIFF output slice into different files