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