[ Index ] |
PHP Cross Reference of MediaWiki-1.24.0 |
[Source view] [Print] [Project Stats]
Handler for Tiff images. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
File Size: | 106 lines (3 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
TiffHandler:: (5 methods):
canRender()
mustRender()
getThumbType()
getMetadata()
isExpensiveToThumbnail()
Class: TiffHandler - X-Ref
Handler for Tiff images.canRender( $file ) X-Ref |
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. param: File $file return: bool |
mustRender( $file ) X-Ref |
Browsers don't support TIFF inline generally... For inline display, we need to convert to PNG. param: File $file return: bool |
getThumbType( $ext, $mime, $params = null ) X-Ref |
param: string $ext param: string $mime param: array $params return: bool |
getMetadata( $image, $filename ) X-Ref |
param: File $image param: string $filename return: string |
isExpensiveToThumbnail( $file ) X-Ref |
No description |
Generated: Fri Nov 28 14:03:12 2014 | Cross-referenced by PHPXref 0.7.1 |