Added support for multipage tiff files with animated giff previews