Added mergeTiffImages() to merge multiple page TIFFs