Routines to transform multipage TIFF into TIFF sequence and vice-versa.