MediaWiki
REL1_22
|
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.
TiffHandler::getMetadata | ( | $ | image, |
$ | filename | ||
) |
File | $image | |
string | $filename |
MWException |
Reimplemented from MediaHandler.
Definition at line 78 of file Tiff.php.
References ExifBitmapHandler\BROKEN_FILE, global, BitmapMetadataHandler\Tiff(), version, and wfDebug().
TiffHandler::getThumbType | ( | $ | ext, |
$ | mime, | ||
$ | params = null |
||
) |
$ext | |
$mime | |
$params |
Reimplemented from MediaHandler.
Definition at line 67 of file Tiff.php.
References global.
TiffHandler::mustRender | ( | $ | file | ) |
Browsers don't support TIFF inline generally...
For inline display, we need to convert to PNG.
$file |
Reimplemented from BitmapHandler.