MediaWiki
REL1_19
|
Handler for Tiff images. More...
Public Member Functions | |
canRender ($file) | |
Conversion to PNG for inline display can be disabled here... | |
getMetadata ($image, $filename) | |
getThumbType ($ext, $mime, $params=null) | |
mustRender ($file) | |
Browsers don't support TIFF inline generally... |
TiffHandler::canRender | ( | $ | file | ) |
Conversion to PNG for inline display can be disabled here...
Note scaling should work with ImageMagick, but may not with GD scaling.
Files pulled from an another MediaWiki instance via ForeignAPIRepo / InstantCommons will have thumbnails managed from the remote instance, so we can skip this check.
$file |
Reimplemented from ImageHandler.
Definition at line 28 of file Tiff.php.
References $file, and $wgTiffThumbnailType.
TiffHandler::getMetadata | ( | $ | image, |
$ | filename | ||
) |
$image | |
$filename |
Reimplemented from MediaHandler.
Definition at line 62 of file Tiff.php.
References $wgShowEXIF, ExifBitmapHandler\BROKEN_FILE, BitmapMetadataHandler\Tiff(), Exif\version(), and wfDebug().
TiffHandler::getThumbType | ( | $ | ext, |
$ | mime, | ||
$ | params = null |
||
) |
$ext | |
$mime | |
$params |
Reimplemented from MediaHandler.
Definition at line 52 of file Tiff.php.
References $wgTiffThumbnailType.
TiffHandler::mustRender | ( | $ | file | ) |
Browsers don't support TIFF inline generally...
For inline display, we need to convert to PNG.
$file |
Reimplemented from BitmapHandler.