Extension:PagedTiffHandler/Hooks/PagedTiffHandlerTiffData
PagedTiffHandlerTiffData | |
---|---|
Available from version ??? Override TIFF extraction (otherwise handled by identify or tiffinfo) |
|
Define function: | public static function onPagedTiffHandlerTiffData( string $fileName, array &$metadata ) { ... }
|
Attach hook: | $wgHooks['PagedTiffHandlerTiffData'][] = 'MyExtensionHooks::onPagedTiffHandlerTiffData';
|
Called from: | File(s): PagedTiffHandler / includes/PagedTiffImage.php Function(s): retrieveMetaData |
For more information about attaching hooks, see Manual:Hooks .
For examples of other extensions using this hook, see Category:PagedTiffHandlerTiffData extensions.
Details
edit$fileName
- The filename string from which to retrieve the metadata&$metadata
- Array of metadata information for width, height, pages etc.