10 class TiffHandler
extends BitmapHandler
{
13 * Conversion to PNG for inline display can be disabled here...
14 * Note scaling should work with ImageMagick, but may not with GD scaling.
16 function canRender( $file ) {
17 global $wgTiffThumbnailType;
18 return (bool)$wgTiffThumbnailType;
22 * Browsers don't support TIFF inline generally...
23 * For inline display, we need to convert to PNG.
25 function mustRender( $file ) {
29 function getThumbType( $ext, $mime ) {
30 global $wgTiffThumbnailType;
31 return $wgTiffThumbnailType;